Help Center

CSQLiteStmt.ColumnCountmethod

Returns the number of columns in the result set returned by the prepared statement.

DatabasesmethodCSQLite.incdocumented

Syntax

FUNCTION ColumnCount () AS LONG

Description

Returns the number of columns in the result set returned by the prepared statement. This function returns 0 if pStmt is an SQL statement that does not return data (for example an UPDATE).

Reference

  • Include file CSQLite.inc
  • Defined in AfxNova/CSQLite3.inc:1600
  • Documented in Databases/CSQLite Class.md
  • Topic: CSQLite Class