a
2005-07-13 05:41:09 UTC
is it possible to create a report with three tables, in which joined
together?
the tables structure:-
a.dbf
a_id char(7) primary key
a_title char(10)
a_bar memo
b.dbf
a_id char(7) foreign key (a.dbf)
b_ex char(10)
c.dbf
a_id char(7) foreign key (a.dbf)
c_ex
and the sample data of the three tables:-
a.dbf
a_id a_title a_bar
001 abchdii dh duiijjodkop dhjj
002 sdihjijdi dhijid dhjijid
003 sduihij s shih siijs
b.dbf
a_id b_ex
001 good or bad
001 black or white
002 iijs
002 shjidjjdc dhh
001 iid dihjjd
c.dbf
a_id c_ex
001 sihid djojk
003 dbhihd dhij9jdn
003 is it
and the report should display as follows:-
001 abchdii dh
duiijjodkop dhjj
(from table b)
good or bad
black or white
iid dihjjd
(from table c)
sihid djojk
002 sdihjijdi
dhijid dhjijid
(from table b)
iijs
shjidjjdc dhh
003 sduihij s
shih siijs
(from table c)
dbhihd dhij9jdn
is it
Thanks so much!
together?
the tables structure:-
a.dbf
a_id char(7) primary key
a_title char(10)
a_bar memo
b.dbf
a_id char(7) foreign key (a.dbf)
b_ex char(10)
c.dbf
a_id char(7) foreign key (a.dbf)
c_ex
and the sample data of the three tables:-
a.dbf
a_id a_title a_bar
001 abchdii dh duiijjodkop dhjj
002 sdihjijdi dhijid dhjijid
003 sduihij s shih siijs
b.dbf
a_id b_ex
001 good or bad
001 black or white
002 iijs
002 shjidjjdc dhh
001 iid dihjjd
c.dbf
a_id c_ex
001 sihid djojk
003 dbhihd dhij9jdn
003 is it
and the report should display as follows:-
001 abchdii dh
duiijjodkop dhjj
(from table b)
good or bad
black or white
iid dihjjd
(from table c)
sihid djojk
002 sdihjijdi
dhijid dhjijid
(from table b)
iijs
shjidjjdc dhh
003 sduihij s
shih siijs
(from table c)
dbhihd dhij9jdn
is it
Thanks so much!