Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Access07 - Running Performance Analyzer - Suggests relate table to itself

Posted on 2014-02-02
8
Medium Priority
?
306 Views
Last Modified: 2014-02-03
Hello Experts!

Simple question I would think for all of you but I wanted to understand if it might be suggesting that I'm structuring something wrong.

I've been Compiling fairly often and also running the Performance Analyzer.  I am only getting 3 suggestions.  

One is to Save app as MDE file.  (What does that really mean?)

But the one that is more questioning to me is it wants me to relate 2 of my tables to themselves.

When I look at the Analysis Notes, bot say the optimation will benefit the Query XXXX.  When I look at the setup of both those queries I conclude that it must be that I am using Queries of queries of those 2 tables it is suggesting.

Thus my question is should I change something?  Should I relate the tables onto themselves or should I add the Query itself to the Relationship table and then relate the table to the query?

Do those suggestions indicate something more problematic in the future?

Trying and trying to understand!  Thanks in advance.
0
Comment
Question by:wlwebb
  • 4
  • 2
  • 2
8 Comments
 
LVL 4

Assisted Solution

by:Jack Leach
Jack Leach earned 668 total points
ID: 39827626
As for making an MDE, that is what passes for an executable file with Microsoft Access.  It removes all design features from the project so nobody else can view the designs, code, or make any changes.  An MDE is a good way to keep users from modifying things that they should not be modifying, such as tables/fields, queries, forms, reports, etc.  They will only be able to interact with the objects that you've created.

As for queries and relations, I can't see enough data to offer input.

Cheers,
-jack
0
 

Author Comment

by:wlwebb
ID: 39827633
Thanks.  Then related to the MDE does it matter if that is created before or after you split the file FE/BE?
0
 
LVL 4

Expert Comment

by:Jack Leach
ID: 39827645
It should be created after the file is split.  Personally, myself (and most others I know), start a project with a split structure so as not to have to do it later, thus I've never actually tried to create an mde before splitting.  Doing it after splitting would require modification to the TableDef Connect properties, which - while doable - isn't the most fun thing in the world (and, you wouldn't have the option to split an MDE anyway - it's a design process, and therefore stripped from the shell)

Also, for the record, accde is the 2007+ extension for the newer file formats (mdb -> mde, accdb -> addce)
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
LVL 40

Assisted Solution

by:PatHartman
PatHartman earned 1332 total points
ID: 39827848
Access uses declarative referential integrity to create indexes that will help with performance.  Without more information regarding the tables, it is impossible to evaluate the recommendation.  In general you should declare relationships and enforce referential integrity to minimize the potential for bad data in your tables.
0
 

Author Comment

by:wlwebb
ID: 39828943
The query that I'm referring to is the tbl_Emp and it's related Addr table and other info table.

The Emp table has the fields LName, FName, MName, SufName, NickName

I have a query to put the employee name into computed fields named [ProperName], [NameLMF], [FullNickName] and a complete address line (addr table fields ares broken down street nbr, street name, C,S,Z).

So instead of copying all those fields to the other query I just related this query to the query of Emp/EmpAddr/EmpOtherInfo
0
 
LVL 40

Accepted Solution

by:
PatHartman earned 1332 total points
ID: 39829538
Sounds like you can ignore the performance analyzer.
0
 

Author Closing Comment

by:wlwebb
ID: 39829546
Thanks all for the input
0
 

Author Comment

by:wlwebb
ID: 39829547
Oops... Missed one of yours Jack...  Intended to select all the responses.
0

Featured Post

Independent Software Vendors: 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

In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
We live in a world of interfaces like the one in the title picture. VBA also allows to use interfaces which offers a lot of possibilities. This article describes how to use interfaces in VBA and how to work around their bugs.
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…
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…
Suggested Courses

972 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