Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Private data sessions
Message
De
19/10/2001 07:59:59
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00570676
Message ID:
00570719
Vues:
11
>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)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform