G
Gntlhnds
Here is my code, and it is not working the way I want it to:
f Nz(DLookup("bShow", "tShowDialogs", "sFormName='" & Startup & "' AND
sUserName='" & CurrentUser & "'"), False)= True Then
'/open you dialog form
DoCmd.OpenForm "Startup"
End If
If checkbox "bShow" is false, then this code should open form "Startup", and
if it true, then this code should do nothing (this code is reference in an
autoexec macro). Instead, regardless of the checkbox, this code does
nothing. If I change the code to:
If Nz(DLookup("bShow", "tShowDialogs"), False) = False Then
'/open you dialog form
DoCmd.OpenForm "Startup"
End If
Then it works. This takes away from it being able to adjust for the user,
though. So how do I make it work?
f Nz(DLookup("bShow", "tShowDialogs", "sFormName='" & Startup & "' AND
sUserName='" & CurrentUser & "'"), False)= True Then
'/open you dialog form
DoCmd.OpenForm "Startup"
End If
If checkbox "bShow" is false, then this code should open form "Startup", and
if it true, then this code should do nothing (this code is reference in an
autoexec macro). Instead, regardless of the checkbox, this code does
nothing. If I change the code to:
If Nz(DLookup("bShow", "tShowDialogs"), False) = False Then
'/open you dialog form
DoCmd.OpenForm "Startup"
End If
Then it works. This takes away from it being able to adjust for the user,
though. So how do I make it work?