>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)