Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Soting numeric values in character fields
Message
De
12/02/2002 01:27:46
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00618630
Message ID:
00618687
Vues:
10
How about:

INDEX ON St_Name + TRANSFORM(VAL(St_Num), [@L 99999]) + ....

or something along those lines. This assumes you have digits only in those fields


>Hi all:
>
>I have a address table 1 field for the street name and another field for the street number and another for the suite number all ar character type , I want to sort the table by streets so i did the index on st_name+st_num+suite but than it sorts like that
>
>1
>11
>112
>2
>
>Can someone please help me how to sort it in the proper way with the numeric order.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform