Check an input

deejay_totoro

Registered User.
Local time
Today, 23:47
Joined
May 29, 2003
Messages
169
Hello,

I have a form that I use as a basic log-in screen. The user selects their name then clicks a log-in button to proceed.

What I would like to do is for an input check to occur. I tried making the underlying table name field required, but this doesn't stop any user from just logging in without entering a name.

I would like something like this to happen (I have tried to explain in English!):

Button_code

If clicked, check the name field.
If the name field has data then close this form and go to the main menu form.
If the name field is empty, display a msgbox saying "Please enter your name" then go back to start.

Any help would be appreciated!

dj_T
 

Users who are viewing this thread

Back
Top Bottom