Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using if in a unique line
Message
From
24/04/2007 12:01:20
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01219389
Message ID:
01219393
Views:
8
>How can I use if in only a line, as below
>
>On error "if error() = 1 do form1"
On Error Do myerrorhandler

Procedure myerrorhandler
Local Array aErrorinfo(7)
=Aerror(aErrorinfo)
If aErrorinfo[1]=1
 Do Form ...
Endif
Edward Pikman
Independent Consultant
Previous
Reply
Map
View

Click here to load this message in the networking platform