I am using Access 2000 and the following code:
Dim rs As Object
Dim SQLa As String
SQLa = "Select M83 from Machines M83 = " & Auto
Set rs = CurrentDb().OpenRecordset(SQLa)
***If EOF code needed here ****
rs.Close
Set rs = Nothing
I have been trying to use this code:
If rs.EOF = True Then......
But this does not seem to work, it never becomes True Or False.
Thank you for the assistance.
Dim rs As Object
Dim SQLa As String
SQLa = "Select M83 from Machines M83 = " & Auto
Set rs = CurrentDb().OpenRecordset(SQLa)
***If EOF code needed here ****
rs.Close
Set rs = Nothing
I have been trying to use this code:
If rs.EOF = True Then......
But this does not seem to work, it never becomes True Or False.
Thank you for the assistance.