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