Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Private data sessions
Message
 
À
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:
00570737
Vues:
16
>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform