G
Guest
I have built a login screen using text boxes and a query by form. When the
LOGIN button is clicked another form is opened that contains the information
found in the record. Everything is working beautifully, unless no record is
found. Then the form opens with a blank record. When the "Exit" button is
clicked a new recorded is added to the table with incomplete information.
What I would like to happen is for a check to ensure that a record is found.
If that check fails I do not want the form to open. I would like to insert
a message box at this point that tells the user to enter accurate
information. A Combo or List box will not work for my purposes on the form.
Any help would be greatly appreciated.
Becky
LOGIN button is clicked another form is opened that contains the information
found in the record. Everything is working beautifully, unless no record is
found. Then the form opens with a blank record. When the "Exit" button is
clicked a new recorded is added to the table with incomplete information.
What I would like to happen is for a check to ensure that a record is found.
If that check fails I do not want the form to open. I would like to insert
a message box at this point that tells the user to enter accurate
information. A Combo or List box will not work for my purposes on the form.
Any help would be greatly appreciated.
Becky