Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Requery() will not refresh View
Message
From
18/04/2002 15:08:42
Mike Yearwood
Toronto, Ontario, Canada
 
 
To
12/04/2002 14:09:18
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00644451
Message ID:
00646542
Views:
14
Hi Larry

Why are you recreating the view? Just change its parameters and requery. Recreating the view will force you to reassign the grid's controlsource etc.

HTH
>Hi -
>
>I have created a view which is being displayed in a readonly grid. I then have a button which forces a the view to be recreated (CREATE SQL VIEW), I then perform a Requery. Hoping that the the grid will be refreshed with the new view data. Its not.Why please?
>
>If I close the view then open it again it shows the new data there. I also checked the requery() return value, it is 1, so everything is working correctly just the refreshed data is not updating the active view. Can someone please advise.
>
>Thanks,
>
>Larry
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform