Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Requery() will not refresh View
Message
 
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:
00644541
Views:
13
>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.
>
Have you tried refreshing the grid MyGrid.Refresh() after you requery the view?
Hector Correa
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform