Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Leading zero insertion?
Message
De
11/01/2000 06:26:11
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00315933
Message ID:
00316042
Vues:
23
>Yes, I check for whether the user is doing a seek using numbers or letters first. That's the reason for the opening IF statement to check for numbers. If numbers, then I have to insert leading zeroes before I do a seek. If letters, then I just do a seek straight away. No prep necessary. I'll study what you wrote and see if that can work for me. Thanks for the good information.


Steve,
"using numbers or letters first". Then you might want to change the expression to :
if isdigit(valu)
which checks if the first is a digit or not. It wouldn't then fail with ie: "38" :)
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
Répondre
Fil
Voir

Click here to load this message in the networking platform