Solved

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

Posted on 2013-02-06
3
363 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
3 Comments
 
LVL 75

Accepted Solution

by:
DatabaseMX (Joe Anderson - Access MVP) earned 500 total points
Comment Utility
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

Expert Comment

by:Jim Dettman (Microsoft MVP/ EE MVE)
Comment Utility
<<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
Comment Utility
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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

This article is a continuation or rather an extension from Cascading Combos (http://www.experts-exchange.com/A_5949.html) and builds on examples developed in detail there. It should be understandable alone, but I recommend reading the previous artic…
Experts-Exchange is a great place to come for help with solutions for your database issues, and many problems are resolved within minutes of being posted.  Others take a little more time and effort and often providing a sample database is very helpf…
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
Using Microsoft Access, learn some simple rules for how to construct tables in a relational database. Split up all multi-value fields into single values: Split up fields that belong to other things into separate tables: Make sure that all record…

771 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now