Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Form refreshing
Message
 
 
To
22/08/2001 18:39:20
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00547690
Message ID:
00547717
Views:
7
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform