Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Severe situation on bug
Message
From
30/07/2001 13:27:46
 
 
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00537068
Message ID:
00537317
Views:
17
>Try following error method. If you run it in the automation server, the open dialog box should not appear. The idea is to retry command without alias so it behaves normal way for return to command:
>
>
>FUNCTION Error
>PARAMETER nError,cMethod,nLine
>if !empty(alias()) and !this.lFirstTry
>	select 0
>	retry
>        this.lFirstTry = .T.
>endif
>this.lFirstTry = .F.
>RETURN TO ShowMessage
>ENDFUNC
>
I tried that code and it's the same thing. It goes in the error event but returns to the line just after the COUNT.

I assume I had to put lFirstTry=.F. in the DEFINE of the class.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Reply
Map
View

Click here to load this message in the networking platform