From: Denis K. <ko...@re...> - 2005-10-07 19:43:11
|
Thanks, Bob. You may want to fix betabook.pdf on page 9 where it says: Breaks also have BreakFields. An expression on how it breaks. There can be more then one and it has a value. The value is an expression. We're trying to generate report templates automatically, that's why always trying to use Breaks, even for detail reports. Bob Doan wrote: >Lisa, > >Having multiple break fields as you have defined is not officially >supported in RLIB 1.3.x > >I also don't think it's an issue because you were not outputting rows, >but rather the break footer for common rows. (Hence the different number >of rows) > >The new way of doing it is with a simple expression: > ><Break name="Detail" newpage="no"> > <BreakFields> > <BreakField value="Conn_Date+Conn_Time+Orig"/> > </BreakFields> ><BreakFooter> > >That said, I think you are a little confused w/ breaks?? Maybe?? > >I've attached a reworked example of what you sent. (att.xml) > >It uses the "Detail" section of RLIB (this way all rows come out). I >also added in a very simple break as an example (Show a big line of text >when the date changes). > > >Cheers > >- Bob > > >------------------------------------------------------------------------ > ><?xml version="1.0"?> ><!DOCTYPE report> ><Report fontSize="8"> ><ReportHeader> ><Output> > <Line/> > <Line fontsize="12"><literal width="80" align="center" bold="yes">Standard Call Detail</literal></Line> > <Line/> > <HorizontalLine bgcolor="'black'"/> > <Line/> ></Output> ></ReportHeader> > ><Breaks> > <Break name="Detail" newpage="no"> > <BreakFields> > <BreakField value="Conn_Date"/> > </BreakFields> > <BreakFooter> > <Output> > <Line bold="yes" fontSize="30"> > <literal>A DAY HAS PASSED</literal> > </Line> > </Output> > </BreakFooter> > </Break> ></Breaks> > ><ReportFooter> > <Output> > <HorizontalLine bgcolor="'black'"/> > <Line> > <field value="''" width="12"/> > <literal width="1"/> > <field value="''" width="8"/> > <literal width="1"/> > <field value="''" width="15"/> > <literal width="1"/> > <field value="''" width="15"/> > <literal width="1"/> > <field value="''" width="15"/> > <literal width="1"/> > <field value="''" width="10"/> > <literal width="1"/> > <field value="''" width="10"/> > <literal width="1"/> > </Line> > </Output> ></ReportFooter> > ><Detail> > <FieldHeaders> > <Output> > <Line> > <field value="'Connect'" width="12" align="center" bold="yes" bgcolor="'silver'"/> > <literal width="1"/> > <field value="'Connect'" width="8" align="center" bold="yes" bgcolor="'silver'"/> > <literal width="1"/> > <field value="'Originating'" width="15" align="center" bold="yes" bgcolor="'silver'"/> > <literal width="1"/> > <field value="'Dialed'" width="15" align="center" bold="yes" bgcolor="'silver'"/> > <literal width="1"/> > <field value="'RTN'" width="15" align="center" bold="yes" bgcolor="'silver'"/> > <literal width="1"/> > <field value="'Elapsed'" width="10" align="center" bold="yes" bgcolor="'silver'"/> > <literal width="1"/> > <field value="'CDC'" width="10" align="center" bold="yes" bgcolor="'silver'"/> > <literal width="1"/> > </Line> > <Line> > <field value="'Date'" width="12" align="center" bold="yes" bgcolor="'silver'"/> > <literal width="1"/> > <field value="'Time'" width="8" align="center" bold="yes" bgcolor="'silver'"/> > <literal width="1"/> > <field value="'Number'" width="15" align="center" bold="yes" bgcolor="'silver'"/> > <literal width="1"/> > <field value="'Number'" width="15" align="center" bold="yes" bgcolor="'silver'"/> > <literal width="1"/> > <field value="''" width="15" align="center" bold="yes" bgcolor="'silver'"/> > <literal width="1"/> > <field value="'Time'" width="10" align="center" bold="yes" bgcolor="'silver'"/> > <literal width="1"/> > <field value="''" width="10" align="center" bold="yes" bgcolor="'silver'"/> > <literal width="1"/> > </Line> > </Output> > </FieldHeaders> > <FieldDetails> > <Output> > <Line> > <field value="Conn_Date" width="12" align="right" /> > <literal width="1"/> > <field value="Conn_Time" width="8" align="right" /> > <literal width="1"/> > <field value="Orig" width="15" align="right" /> > <literal width="1"/> > <field value="Dial" width="15" align="right" /> > <literal width="1"/> > <field value="Rtn" width="15" align="right" /> > <literal width="1"/> > <field value="val(Elapsed_Time)" width="10" align="right" /> > <literal width="1"/> > <field value="val(Cdc)" width="10" align="right" format="'%2d'" /> > <literal width="1"/> > </Line> > </Output> > </FieldDetails> ></Detail> > > ><Variables> ></Variables> ></Report> > > |