Application.SetOption (Access)

The SetOption method sets the current value of an option in the Access Options dialog box.

The available option settings depend on the type of option being set. There are three general types of options:

SetOption (OptionName, Setting)


Application.SetOption "Show Status Bar", True

Arguments

The following arguments are required:

OptionName (String) - The name of the option. For a list of option name argument strings, see Set options from Visual Basic.

Setting - A value corresponding to the option setting. The value of the setting argument depends on the possible settings for a particular option