Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using if in a unique line
Message
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01219389
Message ID:
01219399
Views:
10
>naomi
>
>I tried to execute a prg instead of a form
>
>ON ERROR iif(error()=2005, do see_erro,"")
>
>a message missing comma, appears
ON ERROR iif(error()=2005, see_erro(),"")
But as others said, just use
lcOldOnError = on('error')
on error do See_erro
...

on error &lcOldOnError
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform