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 

TADOQuery Master/Deatil?

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (VCL Components Usage)
View previous topic :: View next topic  
Author Message
Sasan
Guest





PostPosted: Fri Feb 17, 2006 7:03 pm    Post subject: TADOQuery Master/Deatil? Reply with quote



Hello,
TADOTable have MasterSource and MasterField property, for design M/D
database,
How can do it with TADOQuery ?

Best regards,
m.t
Back to top
Giuliano
Guest





PostPosted: Fri Feb 17, 2006 9:03 pm    Post subject: Re: TADOQuery Master/Deatil? Reply with quote



On Fri, 17 Feb 2006 21:42:13 +0330, "Sasan" <sasan_vm (AT) yahoo (DOT) com> wrote:

Quote:

Hello,
TADOTable have MasterSource and MasterField property, for design M/D
database,
How can do it with TADOQuery ?

Best regards,
m.t


AFAIK, in order to use the Master/Detail structure using DB aware ADO oriented
VCL components, you can proceed like with the old technologies, i.e. setting
the DataSource property on the "detail dataset"; then, you have to set the
appropriate parameters in the CommandText property of the aforesaid component.
Obviously, you have to use a TDataSource component to bind together the
TADOQueries. However, forget TADOQuery the component: use the TADODataSet
component instead, 'cause the former is obsolete (it exists only for porting
easily old DB technologies to the new ones).

For questions regarding DB technologies and techniques, is better to use
borland.public.cppbuilder.database.* groups.

Regards

Guliano
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (VCL Components Usage) 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.