Also make sure that you pre-define that Var before it runs or it will
fail. I always do this in REPORT - BEFORE GENERATE EPP
 
SET VAR vCounter INTEGER = 0
RETURN
 
Also set rectangle to Parentheight and Parentwidth 
 
Victor Timmons
Tiz's Door Sales, Inc
Visit us at www.tizdoors.com <http://www.tizdoors.com/> 
 P Please consider the environment before printing this e-mail
 

________________________________

From: [email protected] [mailto:[email protected]] On Behalf Of
[email protected]
Sent: Wednesday, June 30, 2010 7:19 AM
To: RBASE-L Mailing List
Subject: [RBASE-L] - Re: zebra stripes on reports


Luc:  Well, it's pretty easy, but not as easy as a setting you can
check.  Here's the directions that I have:

1.  Locate a rectangle over the entire detail row, componentID of
"ZebraRectangle".  Make a fill color of White and line color of White
2.  On the detail band before generate eep:
IF vCounter  = 0 THEN
  SET VAR vCounter = 1
  PROPERTY ZebraRectangle BRUSH_COLOR 'LIGHT GRAY'
ELSE
  SET VAR vCounter = 0
  PROPERTY ZebraRectangle BRUSH_COLOR 'WHITE'
ENDIF


Karen






        i have a report and I want to print the detail lines with a
"zebra" stripe pattern, in a color of my choice.
        How to do this is obvious for forms, but I haven't sorted out
yet how to do this on a report.
          
        I suppose it will also be something simple......
          
        Any help would be welcome...
          
        Luc delcoigne
        


Reply via email to