Y
yalda mostafazadeh
I'm trying to make a username and password on a form for entrance
username should be email from a table named " customers" and password is zipcode from the table too
the macro i used for "enter" butten is:
search for record
object type: table
object name: customer
record:first
where condition: username=email
if username=email
if password=zipcode
open form
else
msgbox
end if
else
msgbox
but whatever i type,this password is shown and i'm going crazy,what should i do?
p.s: my form's data source is linked to customer table
username should be email from a table named " customers" and password is zipcode from the table too
the macro i used for "enter" butten is:
search for record
object type: table
object name: customer
record:first
where condition: username=email
if username=email
if password=zipcode
open form
else
msgbox
end if
else
msgbox
but whatever i type,this password is shown and i'm going crazy,what should i do?
p.s: my form's data source is linked to customer table