Question : Hide / Unhide Database Objects With VBA

Hello all
Is it possible to hide and unhide Queries, Forms, Macros and Modules using VBA?  I would like to be able to work with one Object set at a time.  I would like one functions just for the queries, one for the forms and so on.

Thanks
WonHop

Answer : Hide / Unhide Database Objects With VBA

bad news,

even if u hide all the database objects,
it is still possible to read all the objects, their structures, field values, etc. from another db.

the example of 'for each tdf in db.Tabledefs' was shown for working inside the currentdb, but could easily be adjusted to read another db.

adjustment of the path, e.g. "c:\anyfolder\yourdb.mdb" instead of 'set db = currentdb'

cheers
Ricky
Random Solutions  
 
programming4us programming4us