| View previous topic :: View next topic |
| Author |
Message |
Bill Hicks Guest
|
Posted: Mon Feb 28, 2005 4:00 am Post subject: Sample for Creating ADO dataset in code... |
|
|
Hi all,
I'm interested in setting up an ADO connection in code (TAdoDataset?) in
conjunction with my existing TAdoConnection object. I want to use the
connection because it already hooks into my backend. I just want to create
ado datasets on the fly.
Any suggestions would be much appreciated.
Bill
|
|
| Back to top |
|
 |
Bill Todd Guest
|
Posted: Mon Feb 28, 2005 1:49 pm Post subject: Re: Sample for Creating ADO dataset in code... |
|
|
var
ds: TADODataSet;
begin
ds := TADODataSet.Create(Self);
ds.Connection := MyADOConnection;
...
--
Bill Todd (TeamB)
TeamB cannot answer questions received via email
|
|
| Back to top |
|
 |
Bill Hicks Guest
|
Posted: Tue Mar 01, 2005 11:38 pm Post subject: Re: Sample for Creating ADO dataset in code... |
|
|
Thanks!
"Bill Todd" <no (AT) no (DOT) com> wrote
| Quote: | var
ds: TADODataSet;
begin
ds := TADODataSet.Create(Self);
ds.Connection := MyADOConnection;
...
--
Bill Todd (TeamB)
TeamB cannot answer questions received via email
|
|
|
| Back to top |
|
 |
|