I run a Form. In the Form Init I calculate two values, A and B.
I have a Textbox on the Form with ControlSource = A.
That value appears in the Textbox on the Form when the Form appears.
I press Command button 2 which has two commands -
THISFORM.Textbox.ControlSource = B
THISFORM.Refresh
Now I am supposed to see value B in the Textbox, but I don't. I still see value A.
I also have Command button 1 which has two commands -
THISFORM.Textbox.ControlSource = A
THISFORM.Refresh
This way I can bounce back and forth between the textbox showing me the values A or B depending upon which command button I press. Any idea why Command button 2 does not show me value B? TIA!
Steve Kramer
Kramer & Kramer Design
"Home of Go Cartoons"
Web Site:
www.stephenkramer.comWould you believe Far Side Lite?
More than 270 original cartoons.