Hi,
I am trying to add another IF variable to a report.
This way it works perfectly.
Private Sub GroupFooter1_Format(Cancel As Integer, FormatCount As Integer)
If Me!Text214 < 1.66 Then
Me!minlang.Visible = True
Me!Text150.Visible = False
Me!Text218.Visible = False
Else
Me!minlang.Visible = False
Me!Text150.Visible = True
Me!Text218.Visible = True
End If
End Sub
What I am trying to do is add this to it.
If Me!OWNERINT = 1 Then
Me!minlang.Visible = False
Me!Text150.Visible = True
Me!Text218.Visible = False
Me!OWNERPAYOUT.Visible = True
But when I add it the report does not pull up. All controls are on the report.
Any suggestions?
Thanks.
Fen How
I am trying to add another IF variable to a report.
This way it works perfectly.
Private Sub GroupFooter1_Format(Cancel As Integer, FormatCount As Integer)
If Me!Text214 < 1.66 Then
Me!minlang.Visible = True
Me!Text150.Visible = False
Me!Text218.Visible = False
Else
Me!minlang.Visible = False
Me!Text150.Visible = True
Me!Text218.Visible = True
End If
End Sub
What I am trying to do is add this to it.
If Me!OWNERINT = 1 Then
Me!minlang.Visible = False
Me!Text150.Visible = True
Me!Text218.Visible = False
Me!OWNERPAYOUT.Visible = True
But when I add it the report does not pull up. All controls are on the report.
Any suggestions?
Thanks.
Fen How