Lazarus

Programming => Databases => Topic started by: Massimo on November 02, 2005, 04:22:40 pm

Title: sqlite usage
Post by: Massimo on November 02, 2005, 04:22:40 pm
Hi,
I was testing the sqlite query interface with a test database.
I would like to populate a grid with the results of my query, but I found a couple of problems:
I got the data and the number of records and fileds with recordcount and filed count, but weren't able to get the filed names. So I was able to populate the table with fieldvalues['name'], but by assigning the filed names, and not retrieving them from the query results.
Is there a way to adress the problem, and get an array with the filed names?

Thank you,
Massimo