ACC95: "SaveSetting" Example in Help Has Incorrect Syntax

Last reviewed: April 3, 1997
Article ID: Q145657
The information in this article applies to:
  • Microsoft Access version 7.0

SYMPTOMS

Moderate: Requires basic macro, coding, and interoperability skills.

The first line of code in the "SaveSetting Statement Example" Help topic in the Microsoft Access for Windows 95 Help system reads as follows:

   SaveSetting(appname := "MyApp", section := "Startup", _
   key := "Top", setting := 75)

This syntax is incorrect.

RESOLUTION

The correct syntax is as follows:

   Call SaveSetting(appname := "MyApp", section := "Startup", key := "Top",
   setting := 75)

   -or-

   SaveSetting appname := "MyApp", section := "Startup", key := "Top",
   setting:= 75

REFERENCES

For more information about the SaveSetting statement, search on the phrase "SaveSetting," and then view "SaveSetting statement" using the Answer Wizard from the Microsoft Access for Windows 95 Help menu.


Keywords : DcmHlp kbusage
Version : 7.0
Platform : WINDOWS
Hardware : X86
Issue type : kbdocerr


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: April 3, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.