>I am writing a application with the VFP Foundation Framework Classes.
>
>Here is what I want to do:
>Validate an entire form, e.g. not let the user save the form until all fields are filled in.
>
>However, I haven't been able to figure out what EVENT to use for that purpose, such as LOSTFOCUS, RELEASE etc.
One way to solve this would be to have a function or method that evaluates for completion. All necessary entry points would need to pass through this function via lostfocus, interactivechange. The save button is disabled when the form is blank refreshed, but data entry would trigger:
MyForm.MySaveButton.Enabled=MyForm.MyEntry1>0 AND MyForm.MyEntry2#[ ]
Have an InterActiveChange set a SaveAlertFlag to true. If the user is browsing, the flag would be false, if the user makes a change, set it true, and then test its condition prior to allowing the user to move the pointer.
BTW: What is FFC?
Imagination is more important than knowledge