 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Fellipe Henrique Guest
|
Posted: Thu May 19, 2005 2:09 pm Post subject: help to create Master-Detail with DBx |
|
|
Hello, here I am, again... :-)
I want to now how I make my two tables in master detail.. I have the Master
Table, and I get only one record, using params, and my Detail table, get all
record refers to my Master Table.
How I do this um DBX and Multi-tier? in client and Server
thanks for all
|
|
| Back to top |
|
 |
Iqbal Kabir Guest
|
Posted: Thu May 26, 2005 9:41 pm Post subject: Re: help to create Master-Detail with DBx |
|
|
sdsMaster.CommandText := 'Select SaleID, SaleDate, CustomerName from
SalesMaster where SaleDate < '05/05/05'
sdsDetail.CommandText := 'Select SaleID, ItemNo, Qty from SalesDetail where
SaleID = :SaleID'
Connect SQLDataset master through DatasetProvider, ClientDataset and
DataSource. Do the same for Detail. Now in the cdsDetail set MasterSource
and MasterFields. You are done.
Good Luck.
"Fellipe Henrique"
| Quote: | Hello, here I am, again... :-)
I want to now how I make my two tables in master detail.. I have the
Master
Table, and I get only one record, using params, and my Detail table, get
all
record refers to my Master Table.
How I do this um DBX and Multi-tier? in client and Server
thanks for all
|
|
|
| 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
|
|