Solved

Is there any point to defining Access relationships if you are not enforcing referential integrity?

Posted on 2013-02-06
3
405 Views
Last Modified: 2013-02-06
I'm building an Access database an I hadn't bothered setting up relationships for most of the tables. I'm mostly combining reports from different sources and I can't count on having mappings for all the business units, plants, etc. I'm dropping things that aren't in these look-up tables into "Unknown" buckets. I have created indexes on the fields that are being joined, sorted, etc to speed up performance.
The Access analyze performance tool is suggesting I create the relationships but if I'm not using referential integrity is there any point to doing this. Sure it looks nice in the window and the tables are automatically connected when you drag them into the query builder but are there any other benefits.
0
Comment
Question by:stopher2475
[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
3 Comments
 
LVL 75

Accepted Solution

by:
DatabaseMX (Joe Anderson - Microsoft MVP, Access and Data Platform) earned 500 total points
ID: 38861571
If you are mainly running reports off of these tables, the RI is not really coming into play per se.  RI comes into play when entering data in tables, either directly or via a UI.

So, based on what you are saying, I would say ... No.  

mx
0
 
LVL 57
ID: 38861639
<<Sure it looks nice in the window and the tables are automatically connected when you drag them into the query builder but are there any other benefits.>>

 Second what MX said; no.

Jim.
0
 
LVL 74

Expert Comment

by:Jeffrey Coachman
ID: 38861774
Sometimes the relationships make it easier to see what is happening.

For example, seeing a One to Many relationship between tblVGTDER and tblM5TGD...
...tells you that each "VGTDER", ..can have many "M5TGD's"
;-)

I just get nervous when I see a sample db with 10 tables and *no* relationships...
;-)

But I agree with MX, if you will never need the relationships...
...and the system is working just fine without them, ...then don't bother creating them
Doing so might only frustrate you with meaningless (in your case) errors.

Jeff
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
In earlier versions of Windows (XP and before), you could drag a database to the taskbar, where it would appear as a taskbar icon to open that database.  This article shows how to recreate this functionality in Windows 7 through 10.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.

752 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