Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL count without French characters
Message
De
02/12/2002 12:54:23
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
02/12/2002 12:49:05
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00728525
Message ID:
00728694
Vues:
28
>>>>The m.euroansi is a public variable, so you don't have to restore it before every select.
>>>
>>>Well, based on my test, it is not. I moved that line in the init of the launch and that variable is not seen afterward. Do I need to declare it public prior to the restore?
>>
>>See my reply to Sergey. I think your best bet is to store it as a property of wwSession or any other object which is always there:
>>
>>
restore from european
>>this.addproperty("euroansi", m.euroansi)
>>
>>and rework your code to use session.euroansi instead of m.euroansi.
>
>Ok, it now works. I don't know why but I made PUBLIC m.european instead of m.euroansi. I wonder why MS VFP team didn't use the same variable name as the restore file.

For historical reasons - european.mem had m.european in it since the earliest versions of Fox. I've found european.mem with dates of 1986. Now the contents of the variable are probably somewhat different - not the OEM charset, but ANSI - and that may well be the reason.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform