FIX: Running a Query from View Designer Causes Error Message (142201)
The information in this article applies to:
- Microsoft Visual FoxPro for Windows 3.0
- Microsoft Data Access Components 2.5
This article was previously published under Q142201 SYMPTOMS
Using the Run Query option from the View Designer when modifying a
previously created view results in a dialog box reporting "CTOD is not a
recognized built in function name" for Remote Views and "Function argument
value, type, or count is invalid" for Local Views.
This only occurs for views using parameter values where one of the
parameter values is compared to a date field and is followed by another
selection criteria.
CAUSE
The View Designer wraps the CTOD() function around the parameter value used
against the date field, when the view definition is read in.
RESOLUTION
Rearrange the selection criteria so that the date field comparison is the
last line.
STATUS
Microsoft has confirmed this to be a problem in the Microsoft products
listed at the beginning of this article. This problem was corrected in
version 3.0b.
Modification Type: | Major | Last Reviewed: | 10/15/2003 |
---|
Keywords: | kbbug kbfix kbvfp300bFIX KB142201 |
---|
|