DatabaseField.GetString

From Xojo Documentation

Method

DatabaseField.GetString() As String

Supported for all project types and targets.

Gets the value of the field as a String.

Notes

This is equivalent to using StringValue to get the value.

Sample Code

Get the string value of a column in a RecordSet:

// rs is a RecordSet with a string column called "ProductName"
Dim productName As String
productName = rs.Field("ProductName").GetString