ACC2002: Server Filter By Form Incorrectly Converts Date Criteria (296048)
The information in this article applies to:
This article was previously published under Q296048 Advanced: Requires expert coding, interoperability, and multiuser skills.
This article applies only to a Microsoft Access project (.adp).
SYMPTOMS
When you enter a date range in a Server Filter by Form window, search for records, and then return to the Server Filter by Form window, date criteria is incorrectly converted to Microsoft Jet syntax.
For example, if you enter the date criteria > 1/1/2001 in the Server Filter by Form window, before applying the server filter, it correctly converts this to > '1/1/2001'.
However, after the server filter is applied, if you then try to enter a new date range, it is incorrectly converted to the Jet-based syntax of
> #1/1/2001#.
RESOLUTION
Edit the ServerFilter property and change the number sign (#) to an apostrophe (') before you re-apply the server filter. Or, when you enter date criteria, enclose the dates in apostrophes.
STATUSMicrosoft has confirmed that this is a problem in Microsoft Access.
Modification Type: | Major | Last Reviewed: | 9/27/2003 |
---|
Keywords: | kbbug kbnofix KB296048 |
---|
|