Skip to main content

tpSetFieldByNameAsInteger

Structure

tpSetFieldByNameAsInteger(sFieldName, iNewValue)

Type

Function

Description

This function sets the field value designated by sFieldName as an integer for the test point dataset - only applicable to integer-based fields.

Parameters

sFieldName=name of the field to be retrieved.

iNewValue=new integer value for the field

Example

iRes = tpFieldbyNameAsInteger('NUM_RESOLUTION')
if iRes < 11 then
iRes = (iRes + 1)
End If
tpSetFieldbyNameAsInteger('NUM_RESOLUTION', iNewRes)