PRB: Missing Statement in "Building Applications" Sample CodeArticle ID: Q120972Creation Date: 23-SEP-1994 Revision Date: 19-SEP-1996
The information in this article applies to:
SYMPTOMS
Moderate: Requires basic macro, coding, and interoperability skills.
On page 249 of the Microsoft Access version 2.0 "Building Applications"
manual there is a sample code fragment in the middle of the page. This
code fragment is missing a required Dim (dimension) statement.
RESOLUTION
To correct the sample, add the following statement to the beginning of
the code:
Dim MyDB As Database, MySet As RecordsetSTATUS This behavior no longer occurs in Microsoft Access for Windows 95 version 7.0.
REFERENCES Microsoft Access "Building Applications," version 2.0, Chapter 11, "Working with Sets of Records," page 249 |
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.