HOW TO: Set "Start up property"

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

Guest

HI TWIMC,

I'd like to be able to set the database property "Show Hidden Objects" to
False via code. It should be something like
CurrentDb.Properties("StartupShowHiddenObjects") = False

Yes I know if its not there I'll need to add it first, but the question is,
is "StartupShowHiddenObjects" the correct property name.

TIA
KM
 
The property is Show Hidden Objects

This works
Application.SetOption "Show Hidden Objects", False
 
"Show Hidden Objects" is the string argument

There is what appears to be a full list of the proper arguments in VB Help
("Set Options in Visual Basic") which you can get to via the entries for
either the GetOption or SetOption methods (at least you can in Access
2002/XP).

HTH,
 

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

Back
Top