From Xojo Documentation


DatabaseField.GetString() As String

Supported for all project types and targets.

Gets the value of the field as a String.


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