Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Incremental search on numeric
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Incremental search on numeric
Miscellaneous
Thread ID:
00774073
Message ID:
00774073
Views:
56
How might one go about this?
The field is: SkNo N(4,0)

Index on SkNo Tag SkNo
Index on STR(SkNo,4,0) Tag SkNoA

Data:
250
350
680
6500

Letting the user type, seek on the tag SkNo requires the full number to be typed; seek on the tag SkNoA brings you to 6500 before 680. What index could be created to get to 680 first and 6500 second?

Thanks,
Tracy
Next
Reply
Map
View

Click here to load this message in the networking platform