Solved

Access07 - Running Performance Analyzer - Suggests relate table to itself

Posted on 2014-02-02
8
292 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 167 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
Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

 
LVL 35

Assisted Solution

by:PatHartman
PatHartman earned 333 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 35

Accepted Solution

by:
PatHartman earned 333 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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

I see at least one EE question a week that pertains to using temporary tables in MS Access.  But surprisingly, I was unable to find a single article devoted solely to this topic. I don’t intend to describe all of the uses of temporary tables in t…
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.
Familiarize people with the process of utilizing SQL Server views from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Access…
In Microsoft Access, learn different ways of passing a string value within a string argument. Also learn what a “Type Mis-match” error is about.

840 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