Guest_imported
New member
- Jan 1, 1970
- 0
Hi,
I have these in one of my events:
Dim rst As Recordset
Set rst = CurrentDb.OpenRecordset("SELECT PRIN_EMP, " & _
"PRIN_OT FROM PRINC " & _
"WHERE PRIN_ID = '" & List0 & "'", dbOpenSnapshot)
and it says error 3001 "Invalid argument".
What is wrong with it?
Thanks,
Johns
I have these in one of my events:
Dim rst As Recordset
Set rst = CurrentDb.OpenRecordset("SELECT PRIN_EMP, " & _
"PRIN_OT FROM PRINC " & _
"WHERE PRIN_ID = '" & List0 & "'", dbOpenSnapshot)
and it says error 3001 "Invalid argument".
What is wrong with it?
Thanks,
Johns