Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Help with Index with ASC and DESC field
Message
De
31/01/2006 16:35:55
 
 
À
31/01/2006 16:25:39
Eric Gauthier
Transcontinental Interweb (Montreal)
Boucherville, Québec, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01092059
Message ID:
01092069
Vues:
17
This message has been marked as the solution to the initial question of the thread.
>HI all
>
>here my question
>
>I want to create an index in a dbf fiel (through data session) with one field(integer) in ascending mode and another one (character) in descending mode like this SQL command :
>
>select * from table1 order by field1 , field2 desc
>
>where field1 is asc and fields desc
>
>
>thx for the help ;)
>
>Eric Gauthier
INDEX ON BINTOC(field1)+CHR(255-ASC(field2)) .. ASC
INDEX ON BINTOC(-field1)+field2 .. DESC
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform