AsMok
IT IS ME ^_^
- Local time
- Today, 10:37
- Joined
- Sep 4, 2019
- Messages
- 67
Hi all
i have this part of login code.
.
.
If SN.Value = ********** And Me.PASSWORD = DLookup("[PASSWORD]", "USERS", "[NAME]='" & Me.Des & "'") Then
Me.Visible = False
DoCmd.OpenForm "**********", acNormal
.
.
It works great But now I need to add yes/no field as a criteria ( I did it as the following) ..it keep giving me a syntax error
If SN.Value = ********** And Me.PASSWORD = DLookup("[PASSWORD]", "USERS", "[NAME]='" & Me.Des & "'" & "[activation]=True") Then
Me.Visible = False
DoCmd.OpenForm "**********", acNormal
.
.
thanks in advance for help
i have this part of login code.
.
.
If SN.Value = ********** And Me.PASSWORD = DLookup("[PASSWORD]", "USERS", "[NAME]='" & Me.Des & "'") Then
Me.Visible = False
DoCmd.OpenForm "**********", acNormal
.
.
It works great But now I need to add yes/no field as a criteria ( I did it as the following) ..it keep giving me a syntax error
If SN.Value = ********** And Me.PASSWORD = DLookup("[PASSWORD]", "USERS", "[NAME]='" & Me.Des & "'" & "[activation]=True") Then
Me.Visible = False
DoCmd.OpenForm "**********", acNormal
.
.
thanks in advance for help