Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Form refreshing
Message
 
 
À
22/08/2001 18:39:20
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00547690
Message ID:
00547717
Vues:
14
>I have created two Forms.
>Form1 have Grid on it and a command button for runing Form2.
>Form2 have text boxes with same table as Grid on Form1.
>When I click on button to run Form2, the data in text boxes are not the same as current record in Grid, they are not refreshing.
>How can I make that the text boxes in Form2 refresh with current record as in Grid on Form1?

Set the Datasession property of Form2 to Default. This means that it will not create a new datasession and particpate in the datasession from which it was called (i.e. Form1's datasession). Any changes to the data in Form2 will automatically show up in Form1 (after refreshing).

HTH.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform