DatabaseColumns()

Syntax

Result = DatabaseColumns(#Database)
Description
Returns the numbers of columns (fields) from the last executed database query with DatabaseQuery(). This command is only valid after a successful FirstDatabaseRow() or NextDatabaseRow().

Parameters

#Database The database to use.

Return value

Returns the number of columns from the last database query.

See Also

DatabaseColumnName()
<- DatabaseColumnName() - Database Index - DatabaseError() ->