General information
Category:
Forms & Form designer
Okay, got it. Still new to VFP but I have dealt with this before. In a simliar situation I have set a form method called ValidEntryCheck(nObjectId). Each object has a simliar T/F property. Each time a user tries to move focus to another object - the ValidEntryCheck verifies all objects requiring input are filled in (using the object array) before focus shift is allowed. If there is a REQUIRED entry not completed, the ValidEntryCheck() returns a no-focus call to the gotfocus event of the object the user is trying to move to and returns the object ID of the object to return to. I am offline from my system today otherwise I would send a sample.
NB - I am not validating data with the ValidEntryCheck, just the ability of the user to pass to another object. Some have a similar function using the LostFocus method to call the ValidEntryCheck.
Ric
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only