DatabaseField.SetString

From Xojo Documentation

Method

DatabaseField.SetString(newValue as String)

Supported for all project types and targets.

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

See Also

StringValue property.