Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP 3.0b - handling triggers
Message
From
23/05/1997 22:22:36
Jon Ziegler
Mannesmann Dematic Corp.
Solon, Ohio, United States
 
 
To
22/05/1997 23:26:40
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00033357
Message ID:
00033497
Views:
51
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.
Previous
Reply
Map
View

Click here to load this message in the networking platform