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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

enforcing referential integrity

Status
Not open for further replies.

macca007

Programmer
Joined
May 1, 2004
Messages
86
Location
GB
Hi i was about to delete tblPatients which has one to many with tblAngioFol. When i went to relationships and tick enforce referential integrity it wouldn't allow me.

How can i check by using a query and show records that the hospital number is not present in tblPatients and vice versa.

I know its not allowing me to enforce referential integrity because of the table on the many side something is not match with tblPatients.

cheers
 
Hi i was about to delete tblPatients which has one to many with tblAngioFol
DELETE * FROM tblAngioFol;
DELETE * FROM tblPatients;

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

Part and Inventory Search

Sponsor

Back
Top