Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Where do I refresh that view?
Message
De
03/04/2002 17:53:46
 
 
À
03/04/2002 16:52:08
Information générale
Forum:
Visual FoxPro
Catégorie:
CodeMine
Divers
Thread ID:
00639725
Message ID:
00640642
Vues:
25
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform