I have a report with the following scenarios...
- a subreport in the page header
- SQL is a TRANSFORM statement (CrossTab query) to create the data
- 14 objects in the detail section
- only the following code in the Detail.Format section
Dim ctl As Control
For Each ctl In Me.Controls
If ctl.Tag = "Color" Then
If ctl.Value = 100 Then
ctl.BackColor = 14803425
Else
ctl.BackColor = 16777215
End If
End If
Next
But it takes 1 full minute to format each page of this report. Takes forever to print.
Any ideas how to make it run faster?
- a subreport in the page header
- SQL is a TRANSFORM statement (CrossTab query) to create the data
- 14 objects in the detail section
- only the following code in the Detail.Format section
Dim ctl As Control
For Each ctl In Me.Controls
If ctl.Tag = "Color" Then
If ctl.Value = 100 Then
ctl.BackColor = 14803425
Else
ctl.BackColor = 16777215
End If
End If
Next
But it takes 1 full minute to format each page of this report. Takes forever to print.
Any ideas how to make it run faster?