IsValueAltered (ODBCResultSet - LotusScript)

Indicates whether a column value was altered by SetValue.

Defined in

ODBCResultSet

Syntax

flag% = odbcResultSet . IsValueAltered( column_id% )

or

flag% = odbcResultSet . IsValueAltered( column_Name$ )

Parameters

column_id%

Integer. The ID of a column. Use any numeric data type, except Currency.

column_Name$

String. The name of a column.

Return value

  • True indicates that the value of this cell in the current row was set by SetValue
  • False indicates that the value was not set by SetValue, and is still as fetched (or as initiated in the AddRow workspace)

Usage

After becoming True, this flag remains True until an UpdateRow or DeleteRow operation. A Close operation deletes the entire result set.

Errors

Field ID is out of range (DBstsINVC)

Example