Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Referntial Integrity of Fields

Status
Not open for further replies.

samusa

Programmer
Jan 1, 2001
107
US
Hi
Could any one tell me how to make referential integrity between fields. Suppose I have a field A which is associated with field B. If I want to delete Value of field B, It shouldn't allow me.
I appreciate your help

Sam
 
You must do this in the relationships window under Tools-->Relationships-->. You should have relationships already established, but if you do not, you will need to add the tables and create the relationships. When you do, the dialog will give you the option of enforcing referential integrity if it is an option for the tables you are joining.
 
Thanks for your reply. In my case both fields belong to same table.

Sam
 
A self join ?
You may declare such relationship in the aforementioned window, provided you insert the table twice.

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top