The information in this article applies to:
SYMPTOMSModerate: Requires basic macro, coding, and interoperability skills.
CAUSEWhen you use an expression to define the ControlSource property for a form or report, Microsoft Access evaluates the expression and presents the result for the control. If Access evaluates a blank field, it displays "#Error." RESOLUTIONTo avoid this error, surround the RecordSource property with an IIF (Immediate If) statement. MORE INFORMATIONSteps to Reproduce Behavior
=Trim([Field1]) REFERENCESFor more information about errors in calculated controls, please see the following article in the Microsoft Knowledge Base: Q199355 ACC2000: Valid Sum() Function Returns #Error? in Calculated CTRLFor more information about the Trim() Function, in the Visual Basic Editor, click Microsoft Visual Basic Help on the Help menu, type "trim function" in the Office Assistant or the Answer Wizard, and then click Search to view the topic. Additional query words: pounderror prb
Keywords : kberrmsg kbusage kbdta |
Last Reviewed: May 13, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |