BBjTemplatedString::setFieldValue
Description
In BBj 7.0 and higher, this method sets the value of a specified field in the BBjTemplatedString.
Syntax
Return Value |
Method |
---|---|
void |
setFieldValue (string fieldname, string value) |
void |
setFieldValue (string fieldname, number value) |
void |
setFieldValue (string fieldname, int fieldindex, string value) |
void |
setFieldValue (string fieldname, int fieldindex, number value) |
Parameters
Variable |
Description |
---|---|
fieldindex |
The index of a repeating field |
fieldname |
The name of the field that is to be retrieved as defined in the template used when constructing the BBjTemplatedString. |
value |
The value which is to be placed into the BBjTemplatedString. |
Return Value
None.
Remarks
This method actually accepts a byte array for this parameter. BBj automatically converts any BBjString or String passed in to a byte array.
Example
|
See Also
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.