Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with ATAGINFO
Message
From
12/07/2002 04:04:54
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
12/07/2002 02:20:53
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00677871
Message ID:
00677885
Views:
53
This message has been marked as the solution to the initial question of the thread.
>Hi All,
>
>I have a little Problem with the result of ATAGINFO()
>
>The column 5 of the array from ATAGINFO() holds an information about sorting direction. On a very crule day somebody decided to LOCALIZE this. So if I run a german version I get "AUFSTEIGEND" instead of "ASCENDING".
>
>
>My problem is, that I do not know under which language the Program runs, so I have to check for every possible translation.
>
>PLEASE send me the string for ASCENDING and DESCENDING in each other language then german and english.
>
>TIA
>
>Agnes

Agnes,
Fortunately you don't need to know translations :)
lnTags = ataginfo(arrTags)
for ix=1 to lnTags
  arrTags[ix,5] = !descending(ix) && Replace 'ASCENDING' with .T.
endfor
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform