FIX: SET COMPATIBLE ON Causes Problems with Crosstab Query (155937)
The information in this article applies to:
- Microsoft Visual FoxPro for Windows 3.0
- Microsoft Visual FoxPro for Windows 3.0b
This article was previously published under Q155937 SYMPTOMS
If you have SET COMPATIBILITY ON for dBASE when you are running a crosstab
query programmatically, the following error occurs:
Line: 17
Program: Destroy
Error: 1924
Message: MYCURSOR is not an object.
Code: SET FIELDS TO &cTmpStr
If you have SET COMPATIBILITY ON for dBASE when you are running a crosstab
query using the Query Designer, the following error occurs:
Line: 17
Program: Destroy
Error: 13
Message: Alias '<computer generated name>' is not found.
Code: SET FIELDS TO &cTmpStr
After you click the OK button, the query appears.
WORKAROUND
When you run a crosstab query programmatically or use the Query Designer,
SET COMPATIBLE must be OFF to avoid these error messages. By default, SET
COMPATIBLE is OFF.
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
Visual FoxPro 5.0 for Windows.
Modification Type: | Major | Last Reviewed: | 9/30/2003 |
---|
Keywords: | kbbug kbfix KB155937 |
---|
|