The information in this article applies to:
SYMPTOMS
Moderate: Requires basic macro, coding, and interoperability skills.
RESOLUTIONUse the DLookup() function, or a user-defined function, instead of an SQL statement to return the value to be used in the conditional expression. STATUSMicrosoft has confirmed this to be a problem in Microsoft Access version 2.0. This behavior no longer occurs in Microsoft Access version 7.0. MORE INFORMATIONSQL statements cannot be used in expressions within macro conditions. You must instead use a function that only returns one value. Steps to Reproduce Problem
REFERENCES
Microsoft Access "User's Guide," version 2.0, Chapter 24, "Using Conditions
in Macros," pages 620-623
Additional query words: gpf
Keywords : kberrmsg kbusage McrCond |
Last Reviewed: April 6, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |