Solved

Unhide tables in Access 2013 Database

Posted on 2015-02-04
1
340 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
Did you know that more than 4 billion data records have been recorded as lost or stolen since 2013? It was a staggering number brought to our attention during last week’s ManageEngine webinar, where attendees received a comprehensive look at the ma…
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.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

622 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