Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with ATAGINFO
Message
De
12/07/2002 04:04:54
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
12/07/2002 02:20:53
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00677871
Message ID:
00677885
Vues:
51
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform