Im not sure if this is possible in Access but...
From FormA, if user clicks command button,
a pop up will show up and ask for password.
if true, then open FormB, if false, retry or close.
is that possible?
the button on formA would open a popup form with a textbox for the user to enter a password. you could store the password in a table and then use dlookup in the after update of the textbox to check if the values are equal, if so, then open formb.
or you could probably just have an inputbox pop open when the button is clicked that gets the password. then have the code compare that to whatever value before opening the form.
i think the first option is more along the lines of what you want.
i'm not too great with it but...
dlookup("field name", "table or query name with that field")
like if i have a table named clients and a field named lname, i would do dlookup("lname","clients")
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.