Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Private data sessions
Message
 
To
19/10/2001 07:59:59
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00570676
Message ID:
00570737
Views:
17
>>I think this is a fairly straight forward question so any help would be appreciated.
>>
>>If I have 2 forms both with private data sessions and data gets changed in 1 that also is in the second how do I ensure that the second form refreshes from disk to use this updated value. (The record pointer in the table is not being moved!)
>>
>>I thought setting the Refresh value should do this but it seems not?
>>
>>Thanks in anticipation.
>
>I have this situation, with parent-child forms. The user changes values in the child form; a total in the parent form has to be updated.
>
>I decided to simply issue ThisForm.Refresh() (in the parent form), in Form.Activate(). This won't update the parent form immediately, though.
>
>Other places where you could update forms might include: 1) a timer, 2) an object reference in the child form.
>
>HTH, Hilmar.

Thanks Hilmar I'll give that a go.

It would be much cleaner however is the Set Refresh actually did this automatically, any idea why it doesn't the help certainly implies that it should.
Caroline
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform