SetCollation of Index
Posted: Wed May 11, 2022 9:29 am
Hi,
I am need to set the collation of one or all indices to "oem:de_DE" in ADS Server. This can be done manually through the Advantage Data Architect using Table Designer in the additional index definitions. But can I somehow set this property already in my code that reindexes my tables?
The code starts with something like this
Later I call "DbReindex()" which will create my CDX files.
Could I use "AX_SetCollation("...")" or change "SetCollation(#CLIPPER)" to "oem:de_DE"?
Thanks
I am need to set the collation of one or all indices to "oem:de_DE" in ADS Server. This can be done manually through the Advantage Data Architect using Table Designer in the additional index definitions. But can I somehow set this property already in my code that reindexes my tables?
The code starts with something like this
Code: Select all
SetCollation(#CLIPPER)
SetAnsi(false)
SetInternational (#CLIPPER)
SetDecimalSep (Asc(","))
SetThousandSep (Asc("."))
SetDateCountry(GERMAN)
SetEpoch(1990)
SetCentury(true)
SetExclusive(FALSE)
SetDeleted(true)
Enable3dControls ()
RDDSETDEFAULT("AXDBFCDX")
Could I use "AX_SetCollation("...")" or change "SetCollation(#CLIPPER)" to "oem:de_DE"?
Thanks