Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Dynamic insertion of ADO recordset

Status
Not open for further replies.

oguraja

Programmer
Jun 14, 2003
124
US
CR 8.5
Delphi 6
RDC application

Hi all

I use ADO recordset inorder to input the Recordset values at runtime.(using ttx files for creating the table during desing time of the report).

CrDB: IDatabase;
FRecordset: _Recordset; //Ado recordset

CrDB:= report.Database; // to access the Database
CrDb.SetDataSource(CRData.FRecordset,3,1); // to
overwrite

This is the code i use inorder to fill the database at runtime. Here the 'FRecordset'field attributes and the field attributes of the 'ttx file' are Same.

But now i need to insert a recordset at runtime which has different field attributes than the 'ttx' file field attributes.

pls Show me a way to do it!!!

-Raja

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top