Syntax
OrdDestroy( cOrderName, [cOrderBagName] ) --> NILArguments
cOrderName
Order name or position. cOrderBagName Optional bag file.
Return value
.T. when the order is removed; otherwise .F..
Description
OrdDestroy() removes the selected order from its order bag and current order list.
Notes
The operation changes the index file.
Example
PROCEDURE Main()
DbUseArea( .T., , "people.dbf", "People" )
QOut( "Destroyed: " + IIF( OrdDestroy( "NAME" ), "YES", "NO" ) )
DbCloseArea()
RETURNOutput