Navigation:  Classes > bArrayServer >

bArrayServer:SetOrder()

Print this Topic    Previous pageReturn to chapter overviewNext page

Purpose

Activate an order from the list of the open orders.

Class

bArrayServer

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

lSuccessA logical value that indicates whether the specified order was activated.
TRUEThe order was activated.
FALSEThe 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

bArrayServer:CreateOrder()

 


Page url: http://www.YOURSERVER.com/index.html?barrayserver_setorder.htm