Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Severe situation on bug
Message
 
 
À
30/07/2001 12:05:22
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00537068
Message ID:
00537267
Vues:
33
>>>>
>>>>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.
>>
>>Dou you have a table open in the current workarea?
>
>Yes...
>
>I get an error if I run the count statement on a table that does not have an IRegion field. I had also created a contact table with an IRegion field, and *was* getting "Variable 'LNREGION' is not found" error.
>
>But, now things have changed.
>
>I closed all tables, and reopened contact table, and now I do *not* get the error in the command window. I ran Michel's test case *several* times, and the error was firing every time. Now, since I closed tables and reopened, the error method is *not* firing.
>
>Very weird.

Indeed
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform