Hows it going
Access seems to be reading strSQL as if it should be an object and is returning a message saying it can't find it.
Is there something wrong with my syntax here?
strSQL = "SELECT [firstName] , [secondname] , [a1] , [a2] , [customerid] From dbo_tblcustomer ORDER BY [firstname]"
' Set Outer Recordset
Set CustDb = CurrentDb
Set Rst1 = CustDb.OpenRecordset(strSQL, dbOpenTable, dbSeeChanges)
anyone?
thanks alot
Frank
Access seems to be reading strSQL as if it should be an object and is returning a message saying it can't find it.
Is there something wrong with my syntax here?
strSQL = "SELECT [firstName] , [secondname] , [a1] , [a2] , [customerid] From dbo_tblcustomer ORDER BY [firstname]"
' Set Outer Recordset
Set CustDb = CurrentDb
Set Rst1 = CustDb.OpenRecordset(strSQL, dbOpenTable, dbSeeChanges)
anyone?
thanks alot
Frank