DOCUMENT:Q115192 25-JUN-2002 [accother] TITLE :ADT2: Error in Help Files for Custom Control Refresh Method PRODUCT :Microsoft Access Distribution Kit PROD/VER:WINDOWS:2.0 OPER/SYS: KEYWORDS: ====================================================================== ------------------------------------------------------------------------------- The information in this article applies to: - Microsoft Access Developer's Toolkit, version 2.0 ------------------------------------------------------------------------------- Novice: Requires knowledge of the user interface on single-user computers. SYMPTOMS ======== The Refresh method syntax in the Help files for the Scroll Bar and Calendar custom controls is incorrect. These custom controls and their Help files are included with the Microsoft Access Developer's Toolkit (ADT) version 2.0. NOTE: In Microsoft Access for Windows 95 version 7.0, the Help files contain the correct syntax. (The bracket notation is not used.) RESOLUTION ========== The correct syntax for the Refresh method for the Scroll Bar and Calendar custom controls is: calendar.object.[refresh] -or- scroll.object.[refresh] Make sure to use brackets ([]) around the word "refresh." MORE INFORMATION ================ The ADT includes a Help file for each of the three custom controls shipped with the ADT. Only the Data Outline custom control Help file has the correct syntax for the Refresh method. Using the incorrect syntax listed in the other Help files will generate the error message: Method not applicable for this object REFERENCES ========== For more information about the Refresh method, search for "Refresh," and then "Refresh Method" by double-clicking the Data Outline Control Help icon in the Microsoft ADT program group in Program Manager. Additional query words: ====================================================================== Keywords : Technology : kbAudDeveloper kbAccessSearch kbAccessDevTK200 kbZNotKeyword3 Version : WINDOWS:2.0 Hardware : x86 ============================================================================= 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. Copyright Microsoft Corporation 2002.