Activate an order from the list of the open orders.
<oArrayServer>:SetOrder(<iOrderNo>) Æ lSuccess
|<iOrderNo>||The position of the order that is to be activated. The position refers to the list of the open orders.|
|lSuccess||A logical value that indicates whether the specified order was activated.|
|TRUE||The order was activated.|
|FALSE||The order could not be activated.|
With the method bArrayServer:CreateOrder() several orders can be created for records. With the method bArrayServer:SetOrder() one of the created orders can be activated. The active order indicates the logical order of the records.
Before the order is activated, the server sends a NotifyIntentToMove message. To successful execution of the operation a NotifyFileChange message is sent.