Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Private data sessions
Message
From
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:
00570719
Views:
13
>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.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform