tpSetFieldByNameAsString
Structure
tpSetFieldByNameAsString(sFieldName, sNewValue)
Type
Function
Description
This function sets the field value designated by sFieldName as a string(text) for the test point dataset - only applicable to text-based fields.
Parameters: 2
sFieldName=name of the field to be retrieved.
sNewValue=new text value for field.
Example
sGroupName = tpFieldbyNameAsString('GROUP_NAME')
if sGroupName = 'ELECTRONICS' then
tpSetFieldbyNameAsString('GROUP_NAME', 'ELECTRONICS MODIFIED)
End If |