DatabaseField.SetString
From Xojo Documentation
This item was deprecated in version 2019r2. Please use DatabaseColumn.StringValue as a replacement. |
Method
Sets the value of the field to the passed String.
Notes
This is equivalent to using StringValue to set the value.
Sample Code
Set the string value of a column in a RecordSet:
// rs is a RecordSet with a string column called "ProductName":
rs.Edit
rs.Field("ProductName").SetString("Generic Widgets")
rs.Update
rs.Edit
rs.Field("ProductName").SetString("Generic Widgets")
rs.Update
See Also
StringValue property.