Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Form refreshing
Message
De
23/08/2001 11:33:12
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00547690
Message ID:
00548027
Vues:
9
>First off do you have a seprate data enviorment??
>if so take it off
>
>on form1.command.click (for form2)
>public pn_recno
>pn_recno = recno()
>do form2
>
>form2.load
>select table
>goto pn_recno
>release pn_recno
>
>
>>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?


I have tried this, and it works.
But I have a suggestion. PUBLIC variable is not recommended for use.
Is there another way to solve this problem, maybe through defining a new property on a form or something like that?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform