Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Unhide tables in Access 2013 Database

Posted on 2015-02-04
1
Medium Priority
?
384 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
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

Free Backup Tool for VMware and Hyper-V

Restore full virtual machine or individual guest files from 19 common file systems directly from the backup file. Schedule VM backups with PowerShell scripts. Set desired time, lean back and let the script to notify you via email upon completion.  

Question has a verified solution.

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

Microsoft Access has a limit of 255 columns in a single table; SQL Server allows tables with over 255 columns, but reading that data is not necessarily simple.  The final solution for this task involved creating a custom text parser and then reading…
If you’re using QODBC to update QuickBooks data from Microsoft® Access but Access is not showing the updated data, you could have set up QODBC incorrectly.
Basics of query design. Shows you how to construct a simple query by adding tables, perform joins, defining output columns, perform sorting, and apply criteria.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

916 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