General information
Category:
Databases,Tables, Views, Indexing and SQL syntax
All of your suggestions will work fine, If you are wanting to scan the rest of the table. I can not think of many reason why I would scan the entire table. This is how I would code it:
select table
set order to index
seek msearch
if found()
scan while field=msearch
... do whatever
endscan
endif
this will place your pointer on the starting record and the scan will exit when the match is not longer valid.
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only