Hi,
I couldn't figure out why I keep getting missing operator syntax error on my Dcount function within my macro. I believe the syntax is correct, could someone please help. I am using Access 2010.
I tried both under the macro and both version have the same error!!
If DCount("*","Password ID","security id =" & [Form]![UserId])=1
or
If DCount("[security id]","Password ID","security id =" & [Form]![UserId])=1
I couldn't figure out why I keep getting missing operator syntax error on my Dcount function within my macro. I believe the syntax is correct, could someone please help. I am using Access 2010.
I tried both under the macro and both version have the same error!!
If DCount("*","Password ID","security id =" & [Form]![UserId])=1
or
If DCount("[security id]","Password ID","security id =" & [Form]![UserId])=1