G
Guest
I have run a select query and now need to write some vb code to run through
the data returned from the query.
Dim rstNew As Recordset
stSQL = "Select * from xxxxxxxx"
Set rstNew = dbsNew.OpenRecordset(stSQL, dbOpenDynaset, dbReadOnly)
If rstNew.RecordCount = 0 Then .....
I don't know what to put in xxxxxxx cause I dont know the name of the
dataset returned from the select query.
thank you,
Neil
the data returned from the query.
Dim rstNew As Recordset
stSQL = "Select * from xxxxxxxx"
Set rstNew = dbsNew.OpenRecordset(stSQL, dbOpenDynaset, dbReadOnly)
If rstNew.RecordCount = 0 Then .....
I don't know what to put in xxxxxxx cause I dont know the name of the
dataset returned from the select query.
thank you,
Neil