Re: alternating color
- From: "Rick Brandt" <rickbrandt2@xxxxxxxxxxx>
- Date: Wed, 08 Jun 2005 17:57:59 GMT
Candor Feg wrote:
> How to accomplish?
> Based on odd or even value in a field.
> thanks
In the format event of the section...
If Me!FieldName mod 2 = 0 Then
Me.Section(n).BackColor = vbGreen
Else
Me.Section(n).BackColor = vbWhite
End If
You will have to replace the 'n' with the appropriate index value for the
section. For the detail section it would be zero.
--
I don't check the Email account attached
to this message. Send instead to...
RBrandt at Hunter dot com
.
- Follow-Ups:
- Re: alternating color
- From: Candor Feg
- Re: alternating color
- References:
- alternating color
- From: Candor Feg
- alternating color
- Prev by Date: alternating color
- Next by Date: How do I total results in different fields in Access?
- Previous by thread: alternating color
- Next by thread: Re: alternating color
- Index(es):
Relevant Pages
|