Add a new key to an order.
) Æ lSuccess
|<iOrderNo>||The position of the order to add. The position refers to the list of the open orders and is to be maintained by the developer.|
|<uValue>||Key value, which is to be added to the order.|
|<iRecNo>||Number of the record, in which the key value is defined as field value.|
|<lAdaptRecords>||Logical value, which indicates whether the record numbers of the already existing key values are to be adapted. As default the value FALSE is used.|
|lSuccess||Logical value, which indicates whether the key value of the order could be added.|
|TRUE||The key value was added.|
|FALSE||The key value could not be added.|
bArrayServer:OrderKeyAdd() adds an existing order a key value with the associated record number. If the key value is contained in the order already, the record number is added to the existing key value. The method is used by the class bArrayServer, in order to update an order.