ACC: "#Error" Message Using TRIM() Function in Form or Report (90139)
The information in this article applies to:
- Microsoft Access 1.0
- Microsoft Access 1.1
- Microsoft Access 2.0
- Microsoft Access for Windows 95 7.0
- Microsoft Access 97
This article was previously published under Q90139
Moderate: Requires basic macro, coding, and interoperability skills.
SYMPTOMS
If you have a form or report that has its RecordSource property defined as
a table that contains no records, "#Error" is displayed when you preview
the report or view the form in Form view if a bound control is defined by
using the Trim() function.
CAUSE
When 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 a blank field is evaluated, "#Error" appears.
STATUS
This behavior is by design.
REFERENCES
For more information about the Trim() function, search for "trim" using
the Microsoft Access Help menu.
Modification Type: | Major | Last Reviewed: | 5/9/2003 |
---|
Keywords: | kberrmsg kbprb kbusage KB90139 |
---|
|