Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Severe situation on bug
Message
 
 
À
30/07/2001 10:34:58
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00537068
Message ID:
00537215
Vues:
24
>>>>>>The code your sent works ok for me - in both cases I have only ShowMessage1 messagebox. NT SP6, VFP 6.0 SP3. How to run it? Maybe it is depended on the default VFP settings, like SET ANSI or SET EXACT?
>>>>>
>>>>>I only have it if the table name is contact. Is contact a reserve word?
>>>>
>>>>No it's not on the list of reserved words.
>>>
>>>We have this situation pretty severe on 3 PC now. My workstation which is off the segment of the server and another PC on the server segment.
>>>
>>>We never saw anything like this. We can open some existing tables and some will generate the bug. However, whatever we create in VFP now will always generate the bug.
>>
>>It looks like you changed something recently. Just SWAG, Could it be SET COLLATE or something similar related to the code page?
>
>Code page is 1252 and collate to machine.

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
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform