> I have the following code on the On Format property of one of my Headers on
> my report:
[quoted text clipped - 36 lines]
> The colors are not changing. Is there any other properties that need to be
> changed on the report to make this code usable?
Your END If's seem to be in the wrong place... they're all at the end.
Problem is, from your code, I have no idea what belongs where?
Here is an example of the correct syntax.
If CriteriaA = True Then
Do your true stuff here
Elseif CriteriaB = True Then
Do CriteriaB stuff here
If Some other criteria within CriteriaB= True Then
Do more stuff here
End If
Else
Do the Stuff here that does not fit in above
If some more criteria = true Then
More stuff to do
End If
End If
Try again.

Signature
Fred
Please respond only to this newsgroup.
I do not reply to personal e-mail
John - 13 Mar 2008 19:47 GMT
Fred,
Thanks to the reply. Changing my code to your format worked. Thanks!
> > I have the following code on the On Format property of one of my Headers on
> > my report:
[quoted text clipped - 57 lines]
> Try again.
>