enabling/disabling text boxes on forms

SteveD

Registered User.
Local time
Today, 22:08
Joined
May 11, 2001
Messages
29
Hi,

I have a form which has two particular text boxes on it- I want to enabled or disable them depending on the value selected in a combo box on the form.
In the after update event of the combo box I have put an 'if then else' statement, it works the first time you use it on the form but if you change the combo box a second time it seems to disable both the text boxes instead of disabling one of them and enabling the other one-does this make sense?
Can anyone help, I've been stuck for ages!
 
Could you post the code in the combo's afterupdate event?
 

Users who are viewing this thread

Back
Top Bottom