password in my form

D

Denver

Hi,

I have a form with unbound text box txtUserName
the other one is txtPassword. I have also cmdLogIn and
cmdCancel.

Can anyone help me on how can I write my code? that when I click
cmdLogIn as long username & password are correct access-2003 will display my
mainswitchboard. or when username & password are in correct a msgbox would
appear that tells user incorrecet username or password. and when I click
cancel
I want acces-2003 do nothing an clears password and username.

can anyone is kind in helping me in writing my codes, I appreciate it.

Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top