Syntax
OrdFor( cOrderName | nOrder, [cOrderBagName] ) --> cForExpArguments
Order name or number and optional order-bag file.
Return value
FOR expression text, or an empty string when none is defined.
Description
OrdFor() returns the condition stored with the selected order.
Notes
The order must exist in the current order list.
Example
PROCEDURE Main()
DbUseArea( .T., , "people.dbf", "People" )
QOut( "FOR: " + OrdFor( 1 ) )
DbCloseArea()
RETURNOutput