| 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
Sets the value of a field in a record within the data source.
| Visual Basic |
|---|
Public Sub SetValue( _
ByVal Index As Variant, _
ByVal RecordNumber As Long, _
ByVal newVal As String _
) |
- 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
The method does not affect data in the SAP Business One database table to which the data source is bounded.