L
Leonard
This code worked fine in Access 2000 but doesn't seem to
work in Access 2002. Is this correct? If so what is my
alternative.
Any and all help apprciated.
' Return reference to current database.
'
Dim dbs As Database, rst As Recordset
Set dbs = CurrentDb
Set rst = dbs.OpenRecordset("MyQuery")
If rst.RecordCount >= 1 Then
Blah...Blah...Blah
Else
Blah...Blah...Blah
End If
work in Access 2002. Is this correct? If so what is my
alternative.
Any and all help apprciated.
' Return reference to current database.
'
Dim dbs As Database, rst As Recordset
Set dbs = CurrentDb
Set rst = dbs.OpenRecordset("MyQuery")
If rst.RecordCount >= 1 Then
Blah...Blah...Blah
Else
Blah...Blah...Blah
End If