Article ID: 114086
Article Last Modified on 1/18/2007
145777 ACC95: Microsoft Access Sample Reports Available in Download Center
175072 ACC97: Microsoft Access 97 Sample Reports Available in Download Center
Name: LineNum
ControlSource: =-1
RunningSum: Over All
Visible: No
Const WHITE = 16777215
Const YELLOW = 65535
If (Me![LineNum] Mod 2) = 0 Then
Me![ProductName].BackColor = YELLOW
Me![CategoryName].BackColor = YELLOW
Me![QuantityPerUnit].BackColor = YELLOW
Me![UnitsInStock].BackColor = YELLOW
Else
Me![ProductName].BackColor = WHITE
Me![CategoryName].BackColor = WHITE
Me![QuantityPerUnit].BackColor = WHITE
Me![UnitsInStock].BackColor = WHITE
End If
NOTE: In Microsoft Access 1.x and 2.0, type spaces in the Product Name, Product ID, Category Name, Quantity Per Unit, and Units In
Stock field names.Additional query words: greenbar green bar
Keywords: kbhowto kbprogramming kbusage KB114086