Enable or make control available when required field has filled in

Thinh

Registered User.
Local time
Today, 14:13
Joined
Dec 20, 2006
Messages
114
I have a form that has some required field. i also has a button that save the changes once all the required field has been filled in. I want to make the save button only visible when all the required field been filled in. My question is what event should i use to make it visible. i have a procedure that check the required field and set flag if all required filled has been filled in.

thanks in advance
 
Thinh said:
I have a form that has some required field. i also has a button that save the changes once all the required field has been filled in. I want to make the save button only visible when all the required field been filled in. My question is what event should i use to make it visible. i have a procedure that check the required field and set flag if all required filled has been filled in.

thanks in advance

Hey Thin,

Maybe a different way of approaching this, that may be easier, is to put your required code in your Forms Before Update event and trap there whether the data is accepted/added or not. Pat Hartman has posted many times that this is the only place to validate data. You should be able to do a search using Before Update as your search criteria and get plenty of hits on how to accomplish this.

HTH,
Shane
 

Users who are viewing this thread

Back
Top Bottom