Hi All,
I have a main form which contains 2 bound controls showing height and spread.
Beside each of these is a button which opens a pop-up form ('Measures') and the value of the corresponding bound control (height or spread' in inches)is sent to an unbound control on the pop-up form. So far, so good.
Now, on the pop-up form (Measures), there are four unbound controls.
1, ImpInch, which gets its value from the main form.
2, Impfeet, which will hold the calculated value of Impinch/12
3, Metricmm, which will hold the calcualted value of ImpInch * 25.4
4, Metricm, wich will hold the calculated value of Metricmm/1000
The calculations are in code and in the OnOpen event on the pop-up but, apart from the value from the main form appearing on the pop-up form, the calulations don't get done.
If I move all the calculations to a button on the pop-up form, it works, but it's not what I want.
I've tried, OnLoad, OnOpen, On Activate, OnGotFocus to no avail.
I'm hoping to use the pop-up form as a ready converter for any of the four unbound values in time but not being able to get the calcs done automatically as the pop-up opens is annoying me.
Any ideas?
Regards
DaveE
I have a main form which contains 2 bound controls showing height and spread.
Beside each of these is a button which opens a pop-up form ('Measures') and the value of the corresponding bound control (height or spread' in inches)is sent to an unbound control on the pop-up form. So far, so good.
Now, on the pop-up form (Measures), there are four unbound controls.
1, ImpInch, which gets its value from the main form.
2, Impfeet, which will hold the calculated value of Impinch/12
3, Metricmm, which will hold the calcualted value of ImpInch * 25.4
4, Metricm, wich will hold the calculated value of Metricmm/1000
The calculations are in code and in the OnOpen event on the pop-up but, apart from the value from the main form appearing on the pop-up form, the calulations don't get done.
If I move all the calculations to a button on the pop-up form, it works, but it's not what I want.
I've tried, OnLoad, OnOpen, On Activate, OnGotFocus to no avail.
I'm hoping to use the pop-up form as a ready converter for any of the four unbound values in time but not being able to get the calcs done automatically as the pop-up opens is annoying me.
Any ideas?
Regards
DaveE