>I am using a Grid with data from a view. After using the requery() for 2 to 3 times I receive a message 'View definition has been changed'. I use the view only to retrive the information. I am using VF 5.0a.
>
>Thanks for help
Eduardo-
Can oyu post the code that defines your view? Most often, this error occurs from and ALLTRIM() in the view definition, or the view is based on another view or cursor, whose structure has changed. The reason this happens (with ALLTRIM()) for example, is that the first time the view is queried, VFP looked at the widths of the fields in the resultss of the query to decide how long the view results cursor fields needed to be. THen the next time the view was queried, different records were pulled in, possibly whose shortest length was different than the shortest one the last time the view was queried. The same thing goes for views that are based on other views- the required field length changed.
Erik Moore
Clientelligence