[Gambas-user] Sqlite and Gambas

Benoit Minisini gambas at ...1...
Mon Feb 4 02:57:18 CET 2008


On samedi 2 février 2008, andy60 wrote:
> I don't understand the way to list tables of a sqlite database. For
> example, it would be useful to list all the database tables in a
> listbox.   How to use Connection.tables? Conenction.tables returns a
> virtual <cid:part1.05060509.05070607 at ...151...> collection used for
> managing the tables of the database.
>

DIM hTable AS Table

FOR EACH hTable IN MyConnection.Tables
  PRINT hTable.Name
NEXT

Regards,

-- 
Benoit Minisini




More information about the User mailing list