Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Severe situation on bug
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00537068
Message ID:
00537224
Vues:
29
>>>>>>>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!

Sergei,

Michel said that it produced an error, but I gather that you are saying this particular error doesn't trigger an Error event. If so, that's a COUNT command bug I didn't know about, but guess an aggregate SELECT command could generally be used as a workaround.

Mike
Montage

"Free at last..."
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform