K
kensworld2
I could really use some help. I'm trying to do something seemingly
simple but to no avail.
I have a label set to invisible
When a text box on the same form (currency) goes below zero I want the
Visible property to turn on. I placed this code on the OnChange
property.
if me.txtTextBox < 0 then
me.lblLabel.visible = True
else
me.lblLabel.visible = False
end if
I know the control works. I attached the code to a command button to
test it. I can't seem to figure out how to trigger it.
Any help would be greatly appreciated.
Thanks in advance
Ken Brown
(e-mail address removed)
simple but to no avail.
I have a label set to invisible
When a text box on the same form (currency) goes below zero I want the
Visible property to turn on. I placed this code on the OnChange
property.
if me.txtTextBox < 0 then
me.lblLabel.visible = True
else
me.lblLabel.visible = False
end if
I know the control works. I attached the code to a command button to
test it. I can't seem to figure out how to trigger it.
Any help would be greatly appreciated.
Thanks in advance
Ken Brown
(e-mail address removed)