Board index » delphi » REF Integrity in code.

REF Integrity in code.

How do you set up a referential integrity in code for existing pdox tables.
A code snipit would be appreciated
 

Re:REF Integrity in code.


See the examples for DbiDoRestructure at
www.inprise.com/devsupport/bde/bdeapiex.

--
Bill Todd
(Sorry but TeamB cannot answer questions received via email)
(Remove nospam from my email address to contact me for any other reason)

Re:REF Integrity in code.


I can't wait to see that one from one of the Borland team boys.

 In my program I had to access the detail table(s) and delete all associated
record(s) then move up the ladder to the Master table and delete the one
record. Hope there is a better way.

Pierre

Re:REF Integrity in code.


Quote
>How do you set up a referential integrity in code for existing pdox tables.
>A code snipit would be appreciated

there sould be an example in this document
http://www.inprise.com/devsupport/bde/bdeapiex/dbidorestructure.html

--
Brian Bushay (TeamB)
Bbus...@DataGuidance.com

Re:REF Integrity in code.


Do you use PARADOX Tables? What version of PARDOX-Tables do you use?
Cascading deletes do not work in any version. Allthough, you can create
it.

Yours Volker

Pierre schrieb:

Quote

> I can't wait to see that one from one of the Borland team boys.

>  In my program I had to access the detail table(s) and delete all associated
> record(s) then move up the ladder to the Master table and delete the one
> record. Hope there is a better way.

> Pierre

--
Volker Fraenkle                         CS Controlling
Technical Consultant                    Software Systeme GmbH

E-Mail: VFraen...@cs-controlling.de
Phone:  +49 7144 8144-0                 Riedbachstrasse 5
Fax:    +49 7144 8144-10                D-74385 Pleidelsheim

Other Threads