Dokumentaro de Gambaso
Compilation & Installation
Components
gb
gb.crypt
gb.qt4
Documents
Indekso de Lingvo
Language Overviews
LeguMin
Lexicon
Registro

Result.Count (gb.db)

Property Read Count As Integer

Returns the number of rows in the query result.

The record count is returned if, and only if:
  • the dbms,

  • the dbms driver,

  • the driver interface and

  • the Gambas interface

all support returning row counts for the specific SQL query executed.

ODBC connections may be unable to get the record count, depending on the underlying ODBC driver. In that case, the -1 value is returned.