PRB: View Designer Misreads Date Criteria in ODBC Date Format (192308)
The information in this article applies to:
- Microsoft Visual FoxPro for Windows 3.0
- Microsoft Visual FoxPro for Windows 3.0b
- Microsoft Visual FoxPro for Windows 5.0
- Microsoft Visual FoxPro for Windows 5.0a
- Microsoft Visual FoxPro for Windows 6.0
- Microsoft Data Access Components 2.5
This article was previously published under Q192308 SYMPTOMS
After saving and closing a remote view with a date criteria in the Open
Database Connectivity (ODBC) Date Format, the View Designer does not read
the criteria correctly. For example:
RESOLUTION
Use the Create SQL View command to create and modify views. For an existing
view, the following code can be used to capture the existing SQL statement:
MyFile=CURDIR() + 'sqltxt.txt'
SET ALTERNATE TO &MyFile ADDITIVE
SET ALTERNATE ON
?DBGETPROP("Test1","View","SQL")
SET ALTERNATE TO
SET ALTERNATE OFF
MODI FILE &MyFile NOWAIT
One other option is to modify the view in the View Designer. This
necessitates entering the date criteria again before saving.
STATUS
Microsoft is researching this problem and will post new information here in
the Microsoft Knowledge Base as it becomes available.
Modification Type: | Minor | Last Reviewed: | 3/3/2005 |
---|
Keywords: | kbcode kbDesigner kbpending kbprb kbSQLProg KB192308 |
---|
|