Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
1494 Error When Requerying View Based on Select...Union
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00727413
Message ID:
00727440
Views:
9
Hi!


No, this is a result of more restrictive behavior of VFP8 related to field types and length. It appears that your view returns data in certain fields that are of different type or length. So, when view is created, VFP calculated one type and length for some field, and real query result after requery() returned another length and/or field type.

Anyway, you can use explicit convertion for fields to make sure result is returned with always the same field types and lengths.

HTH.

>Hi Everyone,
>
>I have a local view based on SELECT...UNION that is opened in a form's dataenvironment with NoDataOnLoad = .T.. When I REQUERY() the view, I get a 1494 Error - View has changed. This does not occur in VFP7.
>
>Has anyone experienced this? Could this be a result of the new implicit data conversion functionality in VFP8?
>
>TIA,
>Jeff
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform