?
Solved

ms/access 2013 enforce referencial integrity

Posted on 2013-11-24
1
Medium Priority
?
330 Views
Last Modified: 2013-11-24
I ha a small database of sales people that are distributed over a country. It is a strongly hierarchical model (I am attaching the database) with a bottom table (T21) with people.

The situation is that I am consistently getting an error (violation of referential integrity), when I try to setup the final relationships with all sales people. But, no matter how, I cannot find the violating records.

I have generated a bunch of queries to try to detect them (the Q90 series), trying to find record on T21 that cannot be matched on T15, and I am pretty sure that they are there, but the queries cannot find them. can anyone help?
FollowUpDB-06.zip
screenshot.docx
0
Comment
Question by:João serras-pereira
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 22

Accepted Solution

by:
Flyster earned 1500 total points
ID: 39673264
You are getting that error because in table T_15_Comissoes, all the values in the NumInternoDelegado field are 0. There is no 0 in table T_20_Delegado for that field.

Flyster
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Phishing attempts can come in all forms, shapes and sizes. No matter how familiar you think you are with them, always remember to take extra precaution when opening an email with attachments or links.
You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Suggested Courses

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question