Page 1 of 1

Specifying a database table for a datagrid

Posted: Tue May 05, 2009 11:13 am
by carlos
Can you tell me how to hook up a specific SQLite database table to a datagrid? Thanks.

Posted: Tue May 05, 2009 1:33 pm
by Janschenkel
The datagrid is currently not supported as a database linked control using automated queries - you'll have to:
- either fetch the data yourself in a single revDataFromQuery call, and then set the dgText property of the datagrid
- or trap the necessary datagrid messages to fill in the rows and columns as needed
Naturally, you can also file an enhancement request in the Quality Center and ask the team to extend the automated query support to datagrids.

Jan Schenkel.

Posted: Wed May 06, 2009 12:46 am
by carlos
Thanks for the help Jan