Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to trap corrupted table when a form is activated
Message
 
To
16/02/2008 13:18:40
Sonny Tabano
Trams Printwork, Inc.
Mabalacat, Philippines
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP1
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01293188
Message ID:
01293198
Views:
15
>Hi,
>
>How do I trap this error message = 2091 (Corrupted Table) in a form with tables in data environment? In what method in the form should i place this error message, so that when this error occur i can activate another form. Any help is greatly appreciated.
>
>Thanks,
>
>Sonny

ThisForm.DataEnvironment.Error
LPARAMETERS nError, cMethod, nLine
IF nError = 2091 
   MESSAGEBOX([Corrupted Table])
   ...
ENDIF
_______________________________________________________________
Testing displays the presence, not the absence of bugs.
If a software application has to be designed, it has to be designed correctly!
_______________________________________________________________
Vladimir Zografski
Systems Analyst
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform