Navigation:  DataServer Classes > DaoServer Class >

DaoServer:FieldPut() Method

Previous pageReturn to chapter overviewNext page

Purpose

Set the value of a field identified by its position.

 

Parameters

uFieldPosThe name, number, or symbol representing the desired field.
uValueThe value to assign to the field.  The data type of this expression must match the data type of the field.

 If you want to set a field to NULL you should assign the VO value NIL to it.

 If you assign a string with length of 0 and zerolength strings are not allowed for this field, the field will be set to NULL in stead.

 

 

Returns

The value assigned to the field.  If <nFieldPos> does not correspond to the position of any field in the data server, DaoServer:FieldPut() returns NIL.

 

Class

DaoServer        

 

See Also

DaoRecordSet:Collect

DaoField:Value

DaoField:validationRule

DaoField:AllowZeroLength