Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Possible bug
Message
From
16/01/2004 00:01:06
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Possible bug
Miscellaneous
Thread ID:
00867361
Message ID:
00867361
Views:
68
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.
Reply
Map
View

Click here to load this message in the networking platform