I don't think it will propagate the linked fields. I write code in the
BeforePost event of the detail table, to put the key values in if they
are not already there. That seems to work alright, though it's not quite
as good as the way Access does it.
__________________________
Scott Cree
Knowlysis Limited
Phone: +649-358-0017
Fax: +649-358-3534
E-Mail: [EMAIL PROTECTED]
-----Original Message-----
From: Patrick Dunford [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 12 May 1999 13:27
To: Multiple recipients of list database
Subject: [DUG-DB]: Simple database Q (Paradox/dBase)
If I have two tables set up in a master-detail relationship using the
properties in the TTables and the detail has a foreign key from the
primary
table, if I add a new record to the detail table, will the key value
from
the master table propagate automatically to the linked field in my new
record in the detail table?
I remember that this works in Access, but I don't have any information
on
how the BDE does it for Paradox/dBase tables.
TIA
============================================
Patrick Dunford, Christchurch, NZ
http://patrick.dunford.com/
------------------------------------------------------------------------
---
New Zealand Delphi Users group - Database List -
[EMAIL PROTECTED]
Website: http://www.delphi.org.nz
---------------------------------------------------------------------------
New Zealand Delphi Users group - Database List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz