I have a report where in the Page Header section, I have a field called Title with the Control Source '[Title]& ": "&[Subtitle]'. The Subtitle is not in the report but accessible via the query. However sometimes the Subtitle field is empty, and less frequently but ocassionally the Title field is empty.
There are two parts to my query:
1. How can I have the colon
) not appearing in the Title field when the Subtitle field is empty, and
2. What code do I need (On Format) to make the Title field Not Visible when it's empty?
I have used the following code for other fields, and it works:
If IsNull(Author) Then
Me.Author.Visible = False
Else
Me.Author.Visible = True
End If
Thank you
There are two parts to my query:
1. How can I have the colon
2. What code do I need (On Format) to make the Title field Not Visible when it's empty?
I have used the following code for other fields, and it works:
If IsNull(Author) Then
Me.Author.Visible = False
Else
Me.Author.Visible = True
End If
Thank you