Page 1 of 1

Scope and temporary index

Posted: Wed Aug 04, 2010 9:30 am
by Richard Chidiak
Hello

I need to sort columns (xbrowse) for a scoped dbf

Is there a way of creating temporary index ? or should i copy the records to an array and browse the array ?

Thanks for the help

Richard

Re: Scope and temporary index

Posted: Wed Aug 04, 2010 12:53 pm
by James Bott
Richard,

All you have to do is supply xBrowse with an array of record numbers. For details see this thread:

http://forums.fivetechsupport.com/viewt ... =3&t=19495

Regards,
James

Re: Scope and temporary index

Posted: Mon Aug 09, 2010 3:50 pm
by demont frank
Richard

From the Ng , Index command

WHILE <lCondition> specifies another condition that must be met by
each record as it is processed. As soon as a record is encountered that
causes the condition to fail, the INDEX command terminates. If a WHILE
clause is specified, the data is processed in the controlling order.
The WHILE condition is transient (i.e., it is not stored in the file and
not used for index updates and REINDEXing purposes). The WHILE clause
creates temporary orders, but these orders are not updated.


Frank