Formating Detail Section

bunker

New member
Local time
Today, 11:05
Joined
Mar 12, 2002
Messages
5
Can someone help with formating a report so that every other line is shaded.

Thanks In Advance
 
Probably just one way among others:
Place in the detail section a textbox control =1 .Set itsvisible property to no, its running sum property to "On Group" (I am translating from French, not sure how it reads in English).

Then, using the On_Format Event of the detail section:

If (Me.txtHiddenRunningSum Mod 2)=0 then
Me.Section(0).BackColor = 255
Else
Me.Section(0).BackColor =16777215
End If

Alex

[This message has been edited by Alexandre (edited 03-12-2002).]
 
Thanks for your solutin Alexander. Do you now how I can apply this to Forms with multiple child records.
 

Users who are viewing this thread

Back
Top Bottom