IManagementDatabaseTableRow.SetFieldValue Method

Writes a value to a row cell.
Sub SetFieldValue( _ 
ByVal columnName As String, _ 
ByVal newValue As Object
)
This language is not supported or no code example is available.
void SetFieldValue( 
string columnName
object newValue 
)
This language is not supported or no code example is available.

Parameters

columnName
string

The identifier (mnemonic) of the column to be edited.

newValue
object

The value to be written, can be a text, a number or a date. If set to null reference (Nothing in Visual Basic), the value of the field will be deleted.

Exception type Condition

QdvApiException

Other problem occurred.

ArgumentOutOfRangeException

The columnName is not a valid column name for this table.

Remarks
 
This method doesn't save the change in the database. It only sets the IsDirty flag and you need to call the Save method manually.
Version
 
Available since QDV 7.14.520.

.NET Framework

Supported in: 4.8, 4.7, 4.6, 4.5.2

In this article

Definition