Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 2 of 2 total
Thread How to select one row dinamically, create dataset dinamically
Mon, Jul 6 2015 11:58 AMPermanent Link

Ricardo

Hi.

I need to work with Firebird database, using ODBC, and these are some doubts:

1. How to create a dataset at runtime
2. How to load all columns at runtime


The goal is to create a generic form, create all the utilities to edit a record and then creating a new inherited form.

Example:
1. Create DataSet for Firebird (ODBC)
2. Asign SQL.Text := 'SELECT * FROM Customer WHERE Code = :Parameter',
3. Open query with Tonguerameter and asign fields to edits controls


Sometimes, I won't know all the fields in the table, so I can not predefining them and, in addition, thus it is easier to create a generic form

Thanks
Mon, Jul 6 2015 12:56 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Ricardo,

<< I need to work with Firebird database, using ODBC, and these are some
doubts: >>

Please post general questions in the General support forum - this forum is
for component development.

Thanks,

Tim Young
Elevate Software
www.elevatesoft.com
Image