DB.SetFieldValue

Description

Sets a field's value for a current record.

Syntax

Function SetFieldValue(field_name, value)

Parameters

field_name (input) - the name of the field you want to set

value (input) - new value for the field

Return value

none

Example

Sample code

DB.TransactionStart() 

For I = 1 To 100 

   DB.AppendStart() 

   DB.SetFieldValue "Field1", I 

   DB.AppnedFinish()

Next

DB.TransactionFinish()

End If

See also

Platform Objects and Methods

DB.sort

DB.AppendFinish

DB.SetFieldValue

DB.TransactionFinish

(DB.SetFieldName) 

(DB.SetRecordID)

(DB Object)