Thread View: borland.public.cppbuilder.database.ado
4 messages
4 total messages
Started by Frank Grey
Wed, 08 Nov 2000 22:34
ADO without connection to DB
Author: Frank Grey
Date: Wed, 08 Nov 2000 22:34
Date: Wed, 08 Nov 2000 22:34
10 lines
1091 bytes
1091 bytes
All, Is it possible to create an ADO dataset without a connection to a DB. I would like to pass the data into an ADO dataset without querying from a data source. I would be creating the data programmatically. This is in an effort to pass data to a Crystal Report. Thanks for any help, Frank
Re: ADO without connection to DB
Author: Alexei Karas
Date: Fri, 10 Nov 2000 12:27
Date: Fri, 10 Nov 2000 12:27
23 lines
1554 bytes
1554 bytes
Yes, it's possible;) You have to create disconnected recordset, i.e. open it
without specifying any connection info. Then you have to append to it fields
you are need and append data to resulting structure.
HTH,
Alexei.
"Frank Grey" <frank.grey@mactiveinc.com> wrote in message
news:8uck6h$e0l13@bornews.inprise.com...
> All,
>
> Is it possible to create an ADO dataset without a connection to a DB. I
> would like to pass the data into an ADO dataset without querying from a
data
> source. I would be creating the data programmatically. This is in an
effort
> to pass data to a Crystal Report.
>
> Thanks for any help,
>
> Frank
>
>
Re: ADO without connection to DB
Author: Frank Grey
Date: Fri, 10 Nov 2000 15:57
Date: Fri, 10 Nov 2000 15:57
39 lines
1853 bytes
1853 bytes
Alexei, Do you have more details on how to do this. I have tried using the TADODataSet, but it keeps complaining about not having a connection string when I try to open it and use it? Thanks for any help, Frank "Alexei Karas" <AlexKaras@hotmail.com> wrote in message news:3a0be98a_2@dnews... > Yes, it's possible;) You have to create disconnected recordset, i.e. open it > without specifying any connection info. Then you have to append to it fields > you are need and append data to resulting structure. > > HTH, > Alexei. > > "Frank Grey" <frank.grey@mactiveinc.com> wrote in message > news:8uck6h$e0l13@bornews.inprise.com... > > All, > > > > Is it possible to create an ADO dataset without a connection to a DB. I > > would like to pass the data into an ADO dataset without querying from a > data > > source. I would be creating the data programmatically. This is in an > effort > > to pass data to a Crystal Report. > > > > Thanks for any help, > > > > Frank > > > > > >
Re: ADO without connection to DB
Author: Frank Grey
Date: Fri, 10 Nov 2000 20:56
Date: Fri, 10 Nov 2000 20:56
36 lines
1818 bytes
1818 bytes
Alexei, I did get the ADO implementation to work. Thank you for your input, you definitely got me on the right track. Frank "Alexei Karas" <AlexKaras@hotmail.com> wrote in message news:3a0be98a_2@dnews... > Yes, it's possible;) You have to create disconnected recordset, i.e. open it > without specifying any connection info. Then you have to append to it fields > you are need and append data to resulting structure. > > HTH, > Alexei. > > "Frank Grey" <frank.grey@mactiveinc.com> wrote in message > news:8uck6h$e0l13@bornews.inprise.com... > > All, > > > > Is it possible to create an ADO dataset without a connection to a DB. I > > would like to pass the data into an ADO dataset without querying from a > data > > source. I would be creating the data programmatically. This is in an > effort > > to pass data to a Crystal Report. > > > > Thanks for any help, > > > > Frank > > > > > >
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads