Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cannot set collate to 'MACHINE' anymore
Message
From
26/01/2001 01:26:41
 
 
To
25/01/2001 16:50:38
Pierre Richard
Méthotech Canada Limitée
Kirkland, Quebec, Canada
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00468808
Message ID:
00468930
Views:
24
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform