On 27/05/11 14:33, Charles Stevenson wrote:
> I am going to assume we are talking about a HUGE file, otherwise
> efficiency wouldn't much matter.
> 
> I don't know a GOOD way outside basic or sql to prevent a sort-selected
> list from being created.   For humongous files, that may be painful.

Hmmm...

Assuming a huge file, as you suggest, create an index on @ID!

Indexes are always sorted, aren't they?

So either make it sort downwards or, if it's numeric, index on "nought
minus id" :-)

Then you can just

SELECTINDEX
READNEXT
CLEARLIST

All done!

Cheers,
Wol
_______________________________________________
U2-Users mailing list
[email protected]
http://listserver.u2ug.org/mailman/listinfo/u2-users

Reply via email to