Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using Seek
Message
From
01/06/2004 09:15:53
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
01/06/2004 08:03:33
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00908842
Message ID:
00908868
Views:
9
>Hi toall,
>
>i have a table1 with an index 'item', my problem is how seek all items starting in 4th position to the 8th positon without changing my index?
>e.g
>abc14421xyz01
>i need to seek all 1442 using seek statement and not select statement.
>please help.
>tia
>Ryan.

Without changing the index, and without using SELECT - SQL, you can use LOCATE FOR (condition) and CONTINUE. This might be Rushmore-optimized if you have a correct index, however, changing the index order temporarily will be much faster. (That is, you can change the index temporarily to process your records, and then change it back again.)

HTH,

Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform