Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Leading zero insertion?
Message
From
11/01/2000 06:26:11
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00315933
Message ID:
00316042
Views:
24
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform