M
michael goodall
i am trying to run a piece of code that i know works to look up the
value of a query stored in a table, but when i try to run it, i get a
runtime error 2001 message. can anyone help me? the code i am using
is: If Nz(DLookup("admingroup", "group"), 0) = 2 Then DoCmd.OpenForm
"loginsuccessful" else msgbox "error". any assistance will be greatly
appreciated. michael
value of a query stored in a table, but when i try to run it, i get a
runtime error 2001 message. can anyone help me? the code i am using
is: If Nz(DLookup("admingroup", "group"), 0) = 2 Then DoCmd.OpenForm
"loginsuccessful" else msgbox "error". any assistance will be greatly
appreciated. michael