Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
View Definition has changed
Message
From
24/11/1998 11:08:52
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00160954
Message ID:
00160955
Views:
15
Hi Mike ---

Most likely, the structure of the back-end table to the view has changed since the view was created. You need to modify the view in the View Designer or re-run the PRG that created the view.


>
>Occasionally after updating a view I will get this curious error stating to me that the "View Definition Has Changed" when I try to REQUERY the view. This is sort of odd in that all I am doing is updating the data in the view/tables. As I trap the definition change using GetNextModified, I normally will detect the view change and can TableRevert(.T.) to get it back. On this particular occasion not only does it not detect the view change, but when I do an outright TableRevert it does not restore the view definition. All I can do is close the view and reopen it. But this causes other problems. My question is this: Why do I get a view definition change when I am updating data? The error indicates some sort of structural change to the view and nothing to do with the data. But I am not chnaging the view definition.
>
>Curiouser and Curiouser,
>Mike
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform