Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Unhide tables in Access 2013 Database

Posted on 2015-02-04
1
Medium Priority
?
362 Views
Last Modified: 2016-02-10
We used some vba code to hide some tables in an Access 2013 database.  We can't figure out the code to unhide them.

Here is the code we used to hide them.

Sub HideAll()
CurrentDb.TableDefs("Detail").Attributes = dbHiddenObject
CurrentDb.TableDefs("Intersections").Attributes = dbHiddenObject
End Sub
0
Comment
Question by:upsfa
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 1

Accepted Solution

by:
upsfa earned 0 total points
ID: 40589535
Never mind.  Found it.
Sub showme()
'CurrentDb.TableDefs("Detail").Attributes = CurrentDb.TableDefs("Detail").Attributes And Not CurrentDb.TableDefs("Detail").Attributes
CurrentDb.TableDefs("Intersections").Attributes = CurrentDb.TableDefs("Intersections").Attributes And Not CurrentDb.TableDefs("Intersections").Attributes
End Sub
0

Featured Post

Fill in the form and get your FREE NFR key NOW!

Veeam® is happy to provide a FREE NFR server license to certified engineers, trainers, and bloggers.  It allows for the non‑production use of Veeam Agent for Microsoft Windows. This license is valid for five workstations and two servers.

Question has a verified solution.

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

You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
This article shows how to get a list of available printers for display in a drop-down list, and then to use the selected printer to print an Access report or a Word document filled with Access data, using different syntax as needed for working with …
In Microsoft Access, learn how to “cascade” or have the displayed data of one combo control depend upon what’s entered in another. Base the dependent combo on a query for its row source: Add a reference to the first combo on the form as criteria i…
With Microsoft Access, learn how to specify relationships between tables and set various options on the relationship. Add the tables: Create the relationship: Decide if you’re going to set referential integrity: Decide if you want cascade upda…

721 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