J
Jeff
Can I use a conditional (if statement) in the On Current event of my subform
that changes the control source of a text box on the subform? Note: I need
the conditional to look at a textbox on the main form.
I have an example of what I need although it does not work. What's wrong?
eg:
This would be in the onCurrent event of the SUBFORM
IF forms!mainform!textbox.value > 0 then
textboxonsubform.controlsource = 1
else
textboxonsubform.controlsource = 2
end if
that changes the control source of a text box on the subform? Note: I need
the conditional to look at a textbox on the main form.
I have an example of what I need although it does not work. What's wrong?
eg:
This would be in the onCurrent event of the SUBFORM
IF forms!mainform!textbox.value > 0 then
textboxonsubform.controlsource = 1
else
textboxonsubform.controlsource = 2
end if