Stemdriller
Registered User.
- Local time
- Today, 18:48
- Joined
- May 29, 2008
- Messages
- 187
Hi All
I am trying to get a report to make either one of two text boxes invisible depending on the users input.
So if txt15 is blank then visible = FALSE this should then reveal txt18 which should then have data in.
I have looked through the forum and found something similar to the following.
Private Sub FormHeader_Format(Cancel As Integer, FormatCount As Integer)
Me.Txt15.Visible = Not IsNull(Me.Txt15)
Me.Txt18.Visible = Not IsNull(Me.Txt18)
It works to a degree, but if txt15 is Blank it does not make the textbox invisible thus will not display Txt18
Any help would be appreciated.
Thanks
Gareth
I am trying to get a report to make either one of two text boxes invisible depending on the users input.
So if txt15 is blank then visible = FALSE this should then reveal txt18 which should then have data in.
I have looked through the forum and found something similar to the following.
Private Sub FormHeader_Format(Cancel As Integer, FormatCount As Integer)
Me.Txt15.Visible = Not IsNull(Me.Txt15)
Me.Txt18.Visible = Not IsNull(Me.Txt18)
It works to a degree, but if txt15 is Blank it does not make the textbox invisible thus will not display Txt18
Any help would be appreciated.
Thanks
Gareth