GetDatabaseQuad()

Syntax

Result.q = GetDatabaseQuad(#Database, Column)
Description
Returns the content of the specified #Database column as a quad number. This command is only valid after a successful FirstDatabaseRow(), PreviousDatabaseRow() or NextDatabaseRow().

Parameters

#Database The database to use.
Column The column to use. DatabaseColumnIndex() is available to get the index of a named column.

Return value

Returns the content of the column as a quad value.

Remarks

To determine the type of a column, DatabaseColumnType() can be used.

Note: This function can be called only once for each column. Therefore if this value needs to be used more than once, the data has to be stored in a variable, since all subsequent calls will return the wrong value. This is an ODBC limitation.

See Also

GetDatabaseBlob(), GetDatabaseDouble(), GetDatabaseFloat(), GetDatabaseString(), GetDatabaseLong()

Supported OS

All

<- GetDatabaseLong() - Database Index - GetDatabaseString() ->