RexesOperator
Registered User.
- Local time
- Yesterday, 23:00
- Joined
- Jul 15, 2006
- Messages
- 604
Now that Wayne has solved one issue for me, I have another.
I have a text box txtCustomerProjecNumber that appears at the head of a report and at the top of each page. Not every customer has a project number, so I want it to be invisible when there is nothing to show.
The following code works on the ReportHeader but not on the PageHeader. Any ideas why? How do I get it to work on the PageHeader Section?
Private Sub PageHeaderSection_Format(Cancel As Integer, FormatCount As Integer)
If IsNull(txtCustomerProjecNumber) Then
txtCustomerProjecNumber.Visible = False
Else
txtCustomerProjecNumber.Visible = True
End If
End Sub
Private Sub ReportHeader_Format(Cancel As Integer, FormatCount As Integer)
If IsNull(txtCustomerProjecNumber) Then
txtCustomerProjecNumber.Visible = False
Else
txtCustomerProjecNumber.Visible = True
End If
End Sub
I have a text box txtCustomerProjecNumber that appears at the head of a report and at the top of each page. Not every customer has a project number, so I want it to be invisible when there is nothing to show.
The following code works on the ReportHeader but not on the PageHeader. Any ideas why? How do I get it to work on the PageHeader Section?
Private Sub PageHeaderSection_Format(Cancel As Integer, FormatCount As Integer)
If IsNull(txtCustomerProjecNumber) Then
txtCustomerProjecNumber.Visible = False
Else
txtCustomerProjecNumber.Visible = True
End If
End Sub
Private Sub ReportHeader_Format(Cancel As Integer, FormatCount As Integer)
If IsNull(txtCustomerProjecNumber) Then
txtCustomerProjecNumber.Visible = False
Else
txtCustomerProjecNumber.Visible = True
End If
End Sub