Database Journal
MS SQL Oracle DB2 Access MySQL PostgreSQL Sybase PHP SQL Etc SQL Scripts & Samples Tips Database Forum Rss Feed

» Database Journal Home
» Database Articles
» Database Tutorials
MS Access
SQL Scripts & Samples
» Database Forum
» Slideshows
Free Newsletters:

News Via RSS Feed

Rss Feed

Database Journal |DBA Support |SQLCourse |SQLCourse2

Featured Database Articles

MS Access

Posted Sep 7, 2004

MS Access for the Business Environment: MS Access as a Documentation Tool: Display Object Dependencies - Page 5

By William Pearson


Our mission is to determine the dependencies of the objects in the database, assuming we have assembled an inventory of those objects already. As we have discussed already, MS Office Access 2003, with the Name AutoCorrect feature enabled, allows us to see a list of objects that depend upon a selected object, as well as objects upon which the selectee itself depends.

5.  Click the Products table in the Database window to select it.

6.  Select View --> Object Dependencies from the main menu, as depicted in Illustration 6.

NOTE: We can also right-click an object and select Object Dependencies from the context menu that appears to achieve the same objective.

Illustration 6: Select View --> Object Dependencies ...

The Object Dependencies task pane appears, as shown in Illustration 7. Atop the pane is the name of the object under examination (circled in red in the illustration).

Illustration 7: The Object Dependencies Task Pane - Selected for the Product Table

The Object Dependencies pane initially shows the list of objects that rely upon the Product table. (The radio button to the left of Objects that depend on me is selected at first, atop the pane).

We can click the expand icon (+) to the immediate left of each object listed in the pane to expose the associated dependency details.

7.  Expand the Order Details Extended query, listed in the Queries section in the Dependencies pane, by clicking the "+" sign to its left.

The Order Details Extended query listing expands, as depicted in Illustration 8.

Illustration 8: The Order Details Query Object - Expanded View

We can see that, within the Order Details Extended query, the Sales by Category query, together with the Sales by Category report and subreport, are identified as dependent upon the Products table.

Once we have collected the information surrounding the objects that are dependent upon the Products table, we can easily switch to a view of objects upon which the Products table is, in turn, dependent, by clicking the radio button to the left of Objects that I depend on at the top of the pane.

8.  Select the Objects that I depend on option, by clicking the radio button to its left, atop the Object Dependencies pane.

The Object Dependencies pane shifts to present the objects upon which the Products table is dependent, as shown in Illustration 9.

Illustration 9: Selecting Objects that I Depend On Atop the Object Dependencies Pane

MS Access Archives

Latest Forum Threads
MS Access Forum
Topic By Replies Updated
Help With Microsoft Access kasy 0 September 4th, 07:35 PM
Linked table not sorting or filtering - ODBC error Java 1 August 28th, 10:37 AM
Use Parameter in select statement (Sql in Microsoft Access) katty.jonh 1 July 25th, 06:45 AM
Query Issue algebroni 7 July 23rd, 04:22 PM