BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Sample for Creating ADO dataset in code...

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (ADO)
View previous topic :: View next topic  
Author Message
Bill Hicks
Guest





PostPosted: Mon Feb 28, 2005 4:00 am    Post subject: Sample for Creating ADO dataset in code... Reply with quote



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





PostPosted: Mon Feb 28, 2005 1:49 pm    Post subject: Re: Sample for Creating ADO dataset in code... Reply with 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
Bill Hicks
Guest





PostPosted: Tue Mar 01, 2005 11:38 pm    Post subject: Re: Sample for Creating ADO dataset in code... Reply with quote



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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (ADO) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.