Make an object (query, table ...) unvisible programmatically

T

TNL

Hi,
how can I set an access object unvisible with VBA?
I habe access 2000

Thanks
TNL
 
A

Alex Dybenko

yes, you can
dbs.TableDefs("Table1").Attributes =dbs.TableDefs("Table1").Attributes Xor
dbHiddenObject

but be careful - if you compact mdb - table will gone
 
Top