I have a database with tree indexes, code, name and state:
CUSTOMER.DBF
CODE
NAME
ADDRESS
PHONE
STATE
I would like to set an Scope as an alternative to SET FILTER to xbrowse customers in state = "NY", instead of using:
- Code: Select all Expand view
- SET FILTER TO FIELD->STATE = "NY"
But I want to order the results by code, but this is index 1.
if I set the scope such as:
- Code: Select all Expand view
- SET ORDER TO 3
OrdScope( 0, "NY" )
OrdScope( 1, "NY" )
Dbgotop()
XBROWSE()
OrdScope( 0, Nil )
OrdScope( 1, Nil )
SET ORDER TO 1
But I want the results ordered by code or number, not state.
Is it possible?.
Thank you very much .