Programatically hide a table?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Is it possible to programatically hide a table like the tables prefixed with
Usys.
If you click View--Properties on a table there is an attributes 'Hidden'
checkbox, indicating this may be possible.
I looked in the object browser at the DAO classes and found
tabledef.attributes and a value of dbHiddenObject but I dont know the syntax
to set this value. There is also a class in ADOX called Properties which I
think may also be usable. Does anyone have knowledge of this?
 
I figured this one out myself, if anyone is interested its:
Application.SetHiddenAttribute acTable, tblName, True

-Dorian
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Hide a table via VBA ? 4
Hiding forms 1
Hidden Tables 2
Hiding and showing Tables 3
How can I Hide my forms, queries, tables etc 2
un-hiding tables 1
POSTing a form programatically 2
How can I hide tables ... 6

Back
Top