Board index » delphi » Ref. Integrity at Runtime

Ref. Integrity at Runtime

Hi...

Does anybody knows how to construct two paradox tables that uses
referential integrity at runtime? (I have been trying with the BDE but I
can't).

Thanks a lot

Diego Ba?uelos.

  vcard.vcf
< 1K Download
 

Re:Ref. Integrity at Runtime


Hi Diego,
Use the Database Desktop - for an existing table go Tools/Restructure, then
pick the Ref. Integrity option from combobox list at top right of the
window...etc
HTH
Chris Hearn

Diego Alonso Ba?uelos Snchez <dbanue...@siga.com.mx> wrote in message
news:38F4B5DE.579C35A5@siga.com.mx...

Quote
> Hi...

> Does anybody knows how to construct two paradox tables that uses
> referential integrity at runtime? (I have been trying with the BDE but I
> can't).

> Thanks a lot

> Diego Ba?uelos.

Re:Ref. Integrity at Runtime


Quote
>Does anybody knows how to construct two paradox tables that uses
>referential integrity at runtime? (I have been trying with the BDE but I

To set referential integrity in code you need to use the BDE API function
dbiDoRestructure
There is an example at
http://www.borland.com/devsupport/bde/bdeapiex/dbidorestructure.html
--
Brian Bushay (TeamB)
Bbus...@NMPLS.com

Other Threads