Hello all,
I have been using the following code to format my reports:
Const vbLightGrey = 14540253
If Me.CurrentRecord Mod 2 = 0 Then
Me.Section(acDetail).BackColor = vbWhite
Else
Me.Section(acDetail).BackColor = vbLightGrey
End If
It works great. I now have a report that in the middle of the detail section has a subreport. Is there a way to make this code apply to the subreport as well. When I put the above code in the detail section of the subreport it turns them all grey. Any ideas would be appreciated.
Shadd
Thanks,
PROXI
I have been using the following code to format my reports:
Const vbLightGrey = 14540253
If Me.CurrentRecord Mod 2 = 0 Then
Me.Section(acDetail).BackColor = vbWhite
Else
Me.Section(acDetail).BackColor = vbLightGrey
End If
It works great. I now have a report that in the middle of the detail section has a subreport. Is there a way to make this code apply to the subreport as well. When I put the above code in the detail section of the subreport it turns them all grey. Any ideas would be appreciated.
Shadd
Thanks,
PROXI