Show Label if ..

fenhow

Registered User.
Local time
Today, 06:01
Joined
Jul 21, 2004
Messages
599
Is there any way to have a label show on a report only if one of the txt boxes has a particlar value in it?

Say I have a label "Sign Here _______" and I only want this to show on the report if txtName has Bob in it otherwise the label sign here is invisible.

Thanks.

Fen How
 
Is there any way to have a label show on a report only if one of the txt boxes has a particlar value in it?

Say I have a label "Sign Here _______" and I only want this to show on the report if txtName has Bob in it otherwise the label sign here is invisible.

Thanks.

Fen How

if me.textbox = "Bob" then
me.label.visible = true
else
me.label.visible = false
 
Thanks, that looks great. Where do I put that code?

Thanks.

Fen
 
put it on the LOAD() event of the form. that should be fine.
 

Users who are viewing this thread

Back
Top Bottom