Purpose
Puts the contents of an array as field values into the current record.
Class
Type
Method
Syntax
<oArrayServer>:RecordPut(
<auRecord>,
[lUpdateOrder]
) Æ lSuccess
Arguments
<auRecord> | A 1-dimensional array that contains the field values that are to be put into the current record. |
Data type: | Array |
<lUpdateOrder> | A logical value that defines whether the available orders shall be updated. If this argument is not specified, the default value TRUE is used. |
Data type: | Logic |
Return Value
lSuccess | A logical value that indicates whether the field value was stored. |
TRUE | The field value was stored. |
FALSE | The field value could not be stored. |
Data type: | Logic |
Description
bArrayServer:RecordPut() puts the contents of array <auRecord> into the current record. The values of the array are put in sequence into the fields, beginning with the field position 1. If the array contains fewer elements than the fields that are present in the server, the remaining field values of the record remain unchanged.
Note
The new field values are not put directly into the data array. They are stored in a temporary buffer and only placed into the data array after the next record movement or a call to the method bArrayServer:Commit().
See Also
Page url: http://www.YOURSERVER.com/index.html?barrayserver_recordput.htm