BBjTemplatedString::getFieldAsNumber
Description
In BBj 7.0 and higher, this method returns the numeric value stored in a specified field of a BBjTemplatedString.
Syntax
Return Value |
Method |
---|---|
number |
getFieldAsNumber(string fieldname) |
number |
getFieldAsNumber(string fieldname, int index) |
Parameters
Variable |
Description |
---|---|
fieldname |
The name of the field that is to be retrieved as defined in the template used when constructing the BBjTemplatedString. |
index |
The index of a repeating field. |
Return Value
Returns the numeric value that is stored in the BBjTemplatedString.
Remarks
None.
Example
See Also
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.