I am once again having syntax issues with the following statement. I have tried all variations of single ticks and quotes, HELP !!!!! I can get the two statements to work separately, but when I add the "AND" it fails.
The "RecordLock" field is a yes/no field.
stLinkCriteria = "[RecordLock]=No AND [Analysts]='" & StaffUserID() & " ' "
DoCmd.OpenForm stDocName, , , stLinkCriteria, , acWindowNormal, "Edit"
Thank You
gina
The "RecordLock" field is a yes/no field.
stLinkCriteria = "[RecordLock]=No AND [Analysts]='" & StaffUserID() & " ' "
DoCmd.OpenForm stDocName, , , stLinkCriteria, , acWindowNormal, "Edit"
Thank You
gina