Disable a control on a continuous form

steve711

Registered User.
Local time
Today, 01:48
Joined
Mar 25, 2004
Messages
166
On my subform I have a textbox that loads disabled. Based on the results of a combo before it I enable it or leave it disabled.

Problem is once it is enabled I input a value in the textbox which happens to be the last control. So when I leave that control, or rather attempt to, I get an error You cannot disable a control while it has the focus.

I have the trigger fire AFTER UPDATE.

What am I missing here?
 
Ok, nevermind. I moved the disabling of this control to the first control when it gets the focus. Works cleaner that way it would seem.
 

Users who are viewing this thread

Back
Top Bottom