I have 2 objects in a form of a formset:
Object1 with controlsource table1.field1
Object2 with controlsource table1.field2
If this formset is called directly, there is no problem. However, if the formset is called from another form, I have the problem described below.
Object1.Value = x + y + z
Object1.ProgrammaticChange has the following coding:
Object2.Value = This.Value * .1
In VFP 6,
This.Value has the value of x + y + z and Object1.Value will equal to x + y + z. Object2.Value will equal to (x + y + z) * .1
However, in VFP 8 SP1,
This.Value is equal to 0 and Object1.Value will equal to 0.
If I change the coding to
Object2.Value = table1.field1 * .1
Object1.Value will equal to x + y + z. Object2.Value will equal to 0.
Thank you for any help.
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement