Custom Search
 


How to hide and unhide a MS Access object



You can hide and unhide a MS Access object (Tables, Queries, Forms, Reports, Pages, Macros, Modules) in the query navigation pane. It's a similar feature like what you do in MS Excel to hide and unhide a spreadsheet.

There are various reasons why you want to hide and unhide an Access object. You may work on an Access database that was developed by someone else and you'd like to know if there are any hidden tables or queries and how to view them.

On the other hand, when you develop a MS Access database application, sometimes you may consider hiding some queries in the navigation pane and later you may want to see it back or unhide them. In this article, we are going to demo how to hide and unhide an Access query.

How to hide a query in Access

For hiding a query, it's similar across all the Access versions, Access 97, 2000, XP, 2003, 2007, etc.

Below are some screenshots for Access 2003 and Access 2007 for hiding the query "Quarterly Orders by Product" in Northwind database.

1. Open Properties window.

Access 2003: In the Queries pane, right click on the query name "Quarterly Orders by Product" and select Properties in the pop-up context menu.

Access 2007: In the navigation pane, right click on the query name "Quarterly Orders by Product" and select Object Properties in the pop-up context menu.

2. Then in the properties windows, tick the checkbox Hidden.

3. Click OK button. Now the query "Quarterly Orders by Product" should disappear from the Queries list.

How to unhide a query in Access 97, 2000, XP, 2003

1. Go to Tools -> Options on the menu bar.

2. Click the View tab and check Hidden objects in the Show section.

3. Click OK.

4. Go to the Queries pane to view all the queries. The hidden query should now be displayed but its icon is grayed out.

5. If you need to show the query so that they can be displayed as normal (not grayed out), right click on the query name and uncheck the checkbox Hidden so effectively you change the option back to unhidden.

How to unhide a query in Access 2007

In Access 2007, the way of configuring things have been dramatically changed by Microsoft. To unhide a query (or any other Access objects), you need to use the Office Button.

1. Click the Office Button at the top left corner of Access window.

2. Click Access Options button.

3. Click Current Database tab on the left hand side navigation menu.

4. On the Current Database tab, click Navigation Options button.

5. On the Navigation Options window, tick the checkbox Show Hidden Objects in the Display Options section.

6. Click OK to close all the windows.

7. Go back to the navigation pane to view the queries. You should see the query name "Quarterly Orders by Product" is now grayed out but still viewable.

8. If you need to see the query again as a normal query (ungrayed), right click on the query and untick the checkbox Hidden on its Properties windows.

Note that all the steps shown above can also be applied to other Access objects like Tables, Reports, Forms, Pages, Macros, and Modules.

Happy Hiding and Unhiding!


Copyright© GeeksEngine.com



Other Recent Articles from the MS Access category:

1.How to easily get a list of field names in MS Access
2.How to count distinct records in MS Access
3.How to do transaction based processing in MS Access
4.How to open a document (local/network file or web page) from MS Access
5.How to use ADOX to create unique composite index - the VBA approach
6.How to do cross-table update queries in MS Access - the right way
7.Three efficient ways to get the number of records by using VBA
8.How to create a composite unique index (not as a primary key) in MS Access
9.Use VBA to get the correct number of records in a Recordset object
10.Disable Access Prompt when a record is changed, table deleted, or action queries run
11.How to return multiple values from a VBA function (Part 3)
12.How to return multiple values from a VBA function (Part 2)
13.How to return multiple values from a VBA function (Part 1)
14.Three ways to programmatically duplicate a table in MS Access by VBA
15.Create a DLL by CSharp or VB.Net for VBA
16.How to correctly reference and call a DLL
17.How to register a C# or VB.Net DLL
18.Email address validation by Regular Expressions using VBA
19.Fix MS Access error: Query must have at least one destination field
20.How to unselect radio buttons in MS Access after it has been selected
21.How to Change Query Timeout Value for MS Access SQL Queries
22.What is Northwind Traders database

Copyright © 2014 GeeksEngine.com. All Rights Reserved.

This website is hosted by LunarPages.

No portion may be reproduced without my written permission. Software and hardware names mentioned on this site are registered trademarks of their respective companies. Should any right be infringed, it is totally unintentional. Drop me an email and I will promptly and gladly rectify it.

 
Home | Feedback | Terms of Use | Privacy Policy