View Full Version : LOCK FIELDS UNLESS ADD BUTTON IS CLICKED


DaleFromEngland
08-06-2001, 03:15 AM
Hi people,

This is my problem, what i have is a form with user names. Now i dont want the users to be able input or change information into these fields, unless they click on the add new user button.

Can anyone give me a bit of info on this...

Thanxs

mrabrams
08-06-2001, 05:09 AM
I would start by setting the fields default property to "Locked" YES.

Then, when your user user clicks the add button, in the On Click event, set the fields locked property to NO.

HTH

Michael Abrams

DaleFromEngland
08-06-2001, 07:17 AM
Thankyou very much, i have now completed my database.

The drinks are on me (Well not really, but cheers)

Dale