Microsoft KB Archive/145657

= ACC95: "SaveSetting" Example in Help Has Incorrect Syntax =

Article ID: 145657

Article Last Modified on 7/5/2002

-

APPLIES TO


 * Microsoft Access 95 Standard Edition

-



This article was previously published under Q145657



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



SYMPTOMS
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

