Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Form refreshing
Message
From
23/08/2001 15:37:53
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00547690
Message ID:
00548254
Views:
8
Is there another way?

>Well can I ask you think a "PUBLIC variable is not recommended for use."
>
>
>
>>>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?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform