Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Bug in VFP9 with NODATA in remote views ?
Message
 
To
09/05/2006 15:08:17
General information
Forum:
Visual FoxPro
Category:
Client/server
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
MySQL
Miscellaneous
Thread ID:
01120484
Message ID:
01120534
Views:
20
Sorry Aleksey, how can I compare the schema ? with DISPLAY STRUCTURE after the USE command ?
Both TMP cursors have (seemingly) the same structure.
I can emulate NODATA behavior, with negative values in WHERE variables of remote view.

T.I.A.

>Hi Ricardo,
>
>The error indicates that the server produces results with different schema for "USE RoomType" and for "USE RoomType NODATA". It is easy to check, compare the schema for cursors created by VFP. To avoid this error, try to adjust the query to return result with the same schema regardless whether NODATA is used.
>
>Thanks,
>Aleksey.
>
>
>>I have read this article about fixed problem in VFP9.
>>
>>http://support.microsoft.com/kb/894011/EN-US/
>>
>>But the error stay there.
>>I have a remote view in a DBC VFP with mySQL5
>>
>>SELECT Roomtype.descrip, Roomtype.rooms, Roomtype.features,;
>>  Roomtype.pic_path, Roomtype.pic360_path, Roomtype.roomtypeid,;
>>  Roomtype.roomTypeCode;
>> FROM ;
>>     roomtype Roomtype;
>> WHERE  Roomtype.roomtypeid BETWEEN ?nRT_ID1 AND ?nRT_ID2
>>
>>
>>The next example gives an error "View definition has been changed (Error 1494)"
>>
>>nRT_ID1 = 0
>>nRT_ID2 = 999
>>USE RoomType NODATA
>>REQUERY()
>>
>>
>>but, if use the same example without "NODATA" parameter, works fine.
>>
>>Any idea ?
>>Thanks.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform