GetOption

  • Thread starter Thread starter KenatUPHS
  • Start date Start date
K

KenatUPHS

When using GetOption("Use Taskbar For Each Document") I
receive a Run-time error 2091. ... is an invalid name.

I can't find any documentation supporting this error.
Everything should work fine. Please help.

Ken
 
Is this a Microsoft Access question?

This newsgroup is for Microsoft Access, a database application. MS Access
has GetOption as well but the it doesn't have "Use Taskbar For Each
Document".

Suggest you re-post to the newsgroup for the software you are using.
 
Van
MS Access 2000 and higher uses this option. It can be accessed on the VIEWS tab under the TOOLS/OPTIONS at the bottom of the second column. "Set Options from Visual Basic" available from help clearly states that the String Argument for this option is "Use Taskbar For Each Document". The same information can be found in MSDN Library. Brendan has correctly answered my questions and I am very grateful
I hope you find this useful, it is not my intention to correct you for any reason other than to help you and hopefully everyone
Ke


----- Van T. Dinh wrote: ----

Is this a Microsoft Access question

This newsgroup is for Microsoft Access, a database application. MS Acces
has GetOption as well but the it doesn't have "Use Taskbar For Eac
Document"

Suggest you re-post to the newsgroup for the software you are using
 
The View tab in the Options dialog (A2K2) shows "Windows In Taskbar"
CheckBox, NOT "Use Taskbar For Each Document"!

Even more, this is the display in the GUI dialog, NOT the Property name used
in GetOption / SetOption. When you used the GetOption method, you need to
use the proper Property name for the Option (see Brendan's reply).

I was aware of the Property "ShowWindowsInTaskbar" when I replied. However,
since you got the wrong option name and you didn't post which
software/version you are using (and if you look as questions in this
newsgroup, lots of people assume that this newsgroup is for "general
computer access"), I need to confirm the missing details.

Perhaps, you should post clear questions with enough details (including OS
version / software version as recommended), then you get more chance of
getting the answer the first time.

--
HTH
Van T. Dinh
MVP (Access)



KenatUPHS said:
Van,
MS Access 2000 and higher uses this option. It can be accessed on
the VIEWS tab under the TOOLS/OPTIONS at the bottom of the second column.
"Set Options from Visual Basic" available from help clearly states that the
String Argument for this option is "Use Taskbar For Each Document". The
same information can be found in MSDN Library. Brendan has correctly
answered my questions and I am very grateful.
I hope you find this useful, it is not my intention to correct you
for any reason other than to help you and hopefully everyone.
 
Back
Top