Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP 3.0b - handling triggers
Message
De
23/05/1997 22:22:36
Jon Ziegler
Mannesmann Dematic Corp.
Solon, Ohio, États-Unis
 
 
À
22/05/1997 23:26:40
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00033357
Message ID:
00033497
Vues:
49
I actually traced through the trigger code and watched the gaError array being created. However, when the trigger code was completed, it returned it's value to whatever called it (that is, the firing of the trigger by moving the cursor). At this point the default VFP [3.0b] message box appeared prompting the user with "Ok", "Revert", and "Help" buttons. There was no explicit code to call this VFP message box. I was wondering how I could prevent this default message box from being displayed altogether, and handle the trigger myself, by changing values or whatever. I can't seem to find the right way to do this. Do I set up an ON ERROR procedure to handle the gaError array, and by doing so, will this prevent the default VFP message box from appearing?

>When trigger fails then VFP bring to you one array called gaError. This
>array contain error explanation. You can see this array in VFP trigger
>code. HTH.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform