DatabaseColumn.NativeValue

From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

Read-Only Property (As String )
StringValue = aDatabaseColumn.NativeValue

New in 2019r2

Supported for all project types and targets.

Used to get the values of fields in their native encoding. Useful for reading blobs from database fields. Use Value or StringValue to set Blob values in database fields.

Sample Code

Get the native value of a column in a RowSet:

// rs is a RowSet with a BLOB column called "FileData"
Var data As String
data = rs.Column("FileData").NativeValue