Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Severe situation on bug
Message
De
30/07/2001 13:27:46
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00537068
Message ID:
00537317
Vues:
18
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform