Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Severe situation on bug
Message
De
30/07/2001 11:59:24
 
 
À
30/07/2001 11:54:07
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00537068
Message ID:
00537261
Vues:
24
>>
>>MIchel,
>>
>>I figured this out. Change you ERROR metod
>>FUNCTION Error
>>PARAMETER nError,cMethod,nLine
>><b>MESSAGEBOX('ErrorMethod')</b>
>>RETURN TO ShowMessage
and run your code. You wouldn't see ErrorMethod message because COUNT FOR IRegion=lnRegion doesn't generate an error!
>>
>>To confirm it just run COUNT FOR IRegion=lnRegion from command window on any open table.
>>You can use
>
>Hello Sergey,
>
>The error method *does* fire on my machine...also, issuing a COUNT in the command window fires an error also.

The behavior of the count as to know wether or not if will fire an error is unpredictable. This is what I came up with.

Also, when it goes into the error handler, it will proceed on the code as is and will ignore the RETURN TO clause.

The question is to know if that has been resolved in VFP7.
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