📚 SAP Business One SDK Help

SetValue Method
See Also 
Index

A field in the data source. Select the field by supplying one of the following:

  • The index of the field, 0-based (long integer)
  • The alias of the database column (string)
RecordNumber
The number of a record
newVal
The new value for the field

Description

Sets the value of a field in a record within the data source.

Syntax

Visual Basic
Public Sub SetValue( _
   ByVal Index As Variant, _
   ByVal RecordNumber As Long, _
   ByVal newVal As String _
) 

Parameters

Index

A field in the data source. Select the field by supplying one of the following:

  • The index of the field, 0-based (long integer)
  • The alias of the database column (string)
RecordNumber
The number of a record
newVal
The new value for the field

Remarks

The method does not affect data in the SAP Business One database table to which the data source is bounded.

See Also