Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What gives???
Message
From
21/01/1997 15:08:05
Bill Gravell
Indoor Purification System
Menifee, California, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
What gives???
Miscellaneous
Thread ID:
00018007
Message ID:
00018007
Views:
76
Here is the situation: System to track accidents. During the data entry process, there is a form to enter all the specific data of the accident (accmgt). That form is created and during the activate, a 2nd form is called to search for the employee (search). During the search phase, the employee SSN is stored, and all the pertinent information about the employee is displayed on the first form (accmgt). In the accident date field valid method, I put a duplication check routine to check to see if, based on the ssn and date of accident, the accident had already been entered into the system.

Problem: As the system creates accmgt and calls search in the activate method, it evaluates the valid in the accident date field, even though the textbox had not yet recieved focus. I even moved the code to the lostfocus method, but it still is triggered. I thought that the valid only triggered during the actual entry and attempted exit from the text box, and the same for the lostfocus.

What am I missing? anybody help???
Next
Reply
Map
View

Click here to load this message in the networking platform