Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Severe situation on bug
Message
De
30/07/2001 13:13:28
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00537068
Message ID:
00537306
Vues:
27
>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
>
This assumes that the error event is fired. In the current test I am doing, the error event does not even fires. So, I can't test it. It is just unpredictable.
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform