Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Advice
Message
De
18/02/2003 08:48:39
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Re: Advice
Divers
Thread ID:
00754393
Message ID:
00754420
Vues:
25
So you are okay with the look and layout of the controls? You just want to make the data refresh?

Putting This.Refresh in the Activate of each page frame may help, but it might cause a problem if you have a modeless form and switch to other forms and back, depending what else is on the page. For instance, I have a search button which brings up a separate (modal) form, and I go so far as to have a form property lNoRefresh, which I set to true before I call the search form, then in the Activate IF NOT ThisForm.lNoRefresh, This.Refresh.

Similarly, if you have RELATIONs among the tables, the Activate can contain GO RECNO('Parent_Table') IN Parent_Table before the This.Refresh, which will position the pointers of the children (and grandchildren) tables at the first matching record. This may not be necessary if users are navigating to the Parent record on the form itself.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform