D
Daniel
I am trying to hide a text box until a combo box has a value of either yes
or no. A simple example of my form.
Form has a combo box with avail selections of Yes and No. I have a text box
that has the visible property set to false. I currently have code on the
combo1 after update event as follows:
If combo1 = -1 then
text1.visible - true
else text1.visible=false
end if
This works fine, except when I select Yes from the combo1 and the text box
appears, when I scroll through the records using the built in record
navigation buttons, my text box remains visible even on the records where
the combo1 value is No. How do I get the text1 to hide and unhide when
scrolling through records or on new record.
Any help would be appreciated.
Thanks,
Daniel
or no. A simple example of my form.
Form has a combo box with avail selections of Yes and No. I have a text box
that has the visible property set to false. I currently have code on the
combo1 after update event as follows:
If combo1 = -1 then
text1.visible - true
else text1.visible=false
end if
This works fine, except when I select Yes from the combo1 and the text box
appears, when I scroll through the records using the built in record
navigation buttons, my text box remains visible even on the records where
the combo1 value is No. How do I get the text1 to hide and unhide when
scrolling through records or on new record.
Any help would be appreciated.
Thanks,
Daniel