Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Where do I refresh that view?
Message
From
03/04/2002 17:53:46
 
 
To
03/04/2002 16:52:08
General information
Forum:
Visual FoxPro
Category:
CodeMine
Miscellaneous
Thread ID:
00639725
Message ID:
00640642
Views:
23
It strikes me that if Denis is adding/deleting (in the form) from the view, he only really need to refresh the grid rather than requery the view (assuming that the grid is actually based on the view).

-=Gary

>>CodeMine 7.0 RC 2
>>
>>My form has a 2 pages pageframe. Page 1 is entry. Page 2 is
>>grid. After a record is added (and saved) I can't see
>>everything on page 2.
>>
>>I use a cde, cmCursor and cmRule. So I'd like to know where
>>would be the best place to refresh that view?
>
>If the page is tabbed I place
> Thisform.cmDataManager.Requery("Viewname")
>in the Pages activate method since this will only requery when its necessary to look at the info on the page. If the pageframe is always visible you could use the cmdatamanager after... methods such as Afterchange, AfterUpdate
-=Gary
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform