Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Navigating Through Records
Message
De
08/10/2002 09:05:33
 
 
À
08/10/2002 04:40:57
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00708510
Message ID:
00708710
Vues:
13
>Hi,
>
><<
>I need help with navigation. I have a table which has part numbers entered in random order the part numbers are like such. 117124,117124-001,117124-003,117125,117126,117126-001. When I use navigation on my form I need some method to make sure I get the part numbers with dashes to show up. Right now it will go 117124,117125,117126 etc.
><<
>
>Maybe:
>
>
>INDEX ON PADR(ALLT(CHRTRAN(Partno,"-","")),LEN(Partno),"0") Tag PartOrder
>
>

Or, simpler:
INDEX ON VAL(STRTRAN(Partno,'-','.') Tag PartNumOrder
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform