Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cannot set collate to 'MACHINE' anymore
Message
De
26/01/2001 01:26:41
 
 
À
25/01/2001 16:50:38
Pierre Richard
Méthotech Canada Limitée
Kirkland, Québec, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00468808
Message ID:
00468930
Vues:
18
>For background info this is a follow up to thread # 465878. I have changed with Stonefield Tool Box all tags from 'general' back to be 'machine' , every tag has been updated but the application still sets collate to 'GENERAL'.
>
>I have identified the source of this problem and I don't see anything wrong in the coding ... duh
>
>1.- all references to collate in the registry are 'MACHINE'
>
>2.- when the application executes csessionenvironment.saveoldsettings the collate sequence is 'MACHINE' (as reported by a display status) but in csessionenvironement.set it changes to 'GENERAL'
>
>Note: When it enters .set, collate sequence is 'MACHINE' , when it finishes collate sequence is changed to 'GENERAL'.
>
>This is the code executed: at this point this.ccollate = 'MACHINE'
>
> IF EMPTY(this.ccollate)
> SET COLLATE TO "MACHINE"
> ELSE
> luTemp = this.ccollate
> SET COLLATE TO luTemp
> ENDIF
>
>Can someone shed some light on this and tell me where and why collate sequence is 'GENERAL' after executing csessionenvironment.set
>
>TIA
>
>Pierre Richard

Looking at all your tables, and the database container itself (as a table), what are their code pages, and what does IDXCOLLATE() return?
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform