Syntax
| SQL.ValidRecords(recSet[, IgnoreEOF])
| ||||||
---|---|---|---|---|---|---|---|
Description
| Checks if the specified recordset object is valid and (optionally) if there are any records in the object.
| ||||||
See Also
| andere SQL.RunQueryxxxxxxxx functies.
| ||||||
Example
| Sub Main() Dim sQuery As String, rs As ADODB.Recordset sQuery = "Select Bedrijfsnaam, Adres, Postcode, Woonplaats From Klanten WHERE Code = '$KDE##@@#'" ' causes invalid recordset SQL.RunRecordset sQuery, rs Debug.Print SQL.ValidRecords(rs) End Sub | ||||||