 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Sasan Guest
|
Posted: Fri Feb 17, 2006 7:03 pm Post subject: TADOQuery Master/Deatil? |
|
|
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
|
Posted: Fri Feb 17, 2006 9:03 pm Post subject: Re: TADOQuery Master/Deatil? |
|
|
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 |
|
 |
|
|
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
|
|