ACC2002: Filter By Form Does Not Filter Data That Has Commas in It (304523)
The information in this article applies to:
This article was previously published under Q304523 Novice: Requires knowledge of the user interface on single-user computers.
This article applies only to a Microsoft Access database (.mdb).
SYMPTOMS
When you view a table in Datasheet view, filter by form does not filter data that has commas in it if all of the following conditions are true:
- The display control is a combo box.
- The bound column is hidden.
- The displayed column is concatenated with data that has a comma in it.
Additionally, you receive the following error messages:
The expression you entered contains invalid syntax, or you need to enclose your text data within quotes.
Microsoft Access didn't build the filter.
RESOLUTION
To find the records that have commas in them, enclose the data that you want to filter by in quotation marks.
For example, change Buchanan, Steven to "Buchanan, Steven" in the Steps to Reproduce the Behavior section to see all the records about Steven Buchanan.
Modification Type: | Major | Last Reviewed: | 9/25/2003 |
---|
Keywords: | kbprb KB304523 |
---|
|