Delphi Pages Forums  

Go Back   Delphi Pages Forums > Delphi Forum > General

Lost Password?

Reply
 
Thread Tools Display Modes
  #1  
Old 01-04-2001, 06:50 AM
cszoli cszoli is offline
Junior Member
 
Join Date: Jan 2001
Posts: 2
Default how to make mastre/detail tables like this ?

Hello,

i have 3 table (t1,t2,t3)
I want to build a relation like this:

t1.field1-t2.field1 and
t2.field2-t3.field2
i have indexes for t1.field1, t2.field1, t3.field2
how to set up this relation ?

Thanks,
Zoltan
Reply With Quote
  #2  
Old 01-04-2001, 08:14 AM
hbah245 hbah245 is offline
Junior Member
 
Join Date: Jan 2001
Posts: 13
Default RE: how to make mastre/detail tables like this ?

You will need to add a TDataSource for Table 1 & 2 and connect to the respective tables. In the Table2 object set the "Table2.MasterSource = DataSourceTable1" and the "MasterFields" property as required. Do this for table 3 also.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT. The time now is 01:34 PM.


Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2019, vBulletin Solutions, Inc.