AndyShuter
Registered User.
- Local time
- Today, 13:42
- Joined
- Mar 3, 2003
- Messages
- 151
Does anyone know how I would use IF and THEN in Code to perform a conditional action.
For example I have a text box which is in view, and a text box which is hidden.
The text box you can see (Box A) is an input required from the user. The text box you can't see (Box B) is an algorythm based on an underlying query that changes every day. (Therefore I will already knowthe future values of this field as the date changes!)
What I would like to do is say that if Box A is equal to Box B, Go to frmintro.
If Box A <> to Box B, exit.
The guy using the database will have to ring me everyday for the passcode or else he won't be able to get in.
Any suggestions please???
For example I have a text box which is in view, and a text box which is hidden.
The text box you can see (Box A) is an input required from the user. The text box you can't see (Box B) is an algorythm based on an underlying query that changes every day. (Therefore I will already knowthe future values of this field as the date changes!)
What I would like to do is say that if Box A is equal to Box B, Go to frmintro.
If Box A <> to Box B, exit.
The guy using the database will have to ring me everyday for the passcode or else he won't be able to get in.
Any suggestions please???