Purpose
Activate an order from the list of the open orders.
Class
Type
Method
Syntax
<oArrayServer>:SetOrder(<iOrderNo>) Æ lSuccess
Arguments
<iOrderNo> | The position of the order that is to be activated. The position refers to the list of the open orders. |
Data Type: | Integer |
Return Value
lSuccess | A logical value that indicates whether the specified order was activated. |
TRUE | The order was activated. |
FALSE | The order could not be activated. |
Data Type: | Logic |
Description
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.
See Also
Page url: http://www.YOURSERVER.com/index.html?barrayserver_setorder.htm