Re: problem with r.detailcnt ( RLIB 1.3.4 )]
Bob Doan <[email protected]> Fri, 08 Jul 2005 09:50:36 -0400
| Newsgroups | gmane.text.rlib.user |
|---|---|
| Message-ID | <[email protected]> |
Hey,
Can we add some trace code??
In pcode.c around line 764 you will see this:
} else if(type == RLIB_RLIB_VARIABLE_DETAILCNT) {
gint64 dcnt = r->detail_line_count * RLIB_DECIMAL_PRECISION;
return rlib_value_new_number(rval, dcnt);
Can we make it this:
} else if(type == RLIB_RLIB_VARIABLE_DETAILCNT) {
gint64 dcnt = r->detail_line_count * RLIB_DECIMAL_PRECISION;
r_error("DETAIL COUNT IN PCODE IS %ld\n", r->detail_line_count);
return rlib_value_new_number(rval, dcnt);
And in reportgen.c around line 577 you will see this:
if(output_count > 0)
r->detail_line_count++;
After those lines can you add:
r_error("IN REPORT GEN DETAIL LINE CNT IS %d\n", r->detail_line_count);
And can you run the report from the command line and send me the
output?
On Fri, 2005-07-08 at 00:31 -0300, [email protected] wrote:
> Citando Bob Doan <bdoan-J0aWFLYJOWhWk0Htik3J/[email protected]>:
>
> > Hi,
> >
> > Is this happening in PDF or HTML or both?
>
> Both.
>
> >
> > Also can you add a column and just print out r.detailcnt
> >
> > And see what comes out (does the number continue to increase?)
>
> No, it's decrease when reaches 214 (last column):
>
> RECURSOS HUMANOS I - 4 213
> ESTATISTICA I 8,75 4 214
> MICROINFORMATICA APLICADA - 4 -214
> PSICOLOGIA APLICADA A ADMINISTRACAO - 4 -213
> RECURSOS HUMANOS II - 4 -212
>
>
> Is possible I clean the detailcnt in a break? (temporary solution)
>
> >
> > - bob
> >
>
> --
> Everton
> ------------------------------------------------------------------------------
> FACCAT - Faculdades de Taquara
> Acesse a agenda de julho - http://www.faccat.br/agenda_07.html
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
> July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
> core and dual graphics technology at this free one hour event hosted by HP,
> AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar
> _______________________________________________
> Rlib-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/rlib-users
-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP,
AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar