Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What gives???
Message
De
21/01/1997 15:08:05
Bill Gravell
Indoor Purification System
Menifee, Californie, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
What gives???
Divers
Thread ID:
00018007
Message ID:
00018007
Vues:
80
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???
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform