Re: How to get Last Page In Reprts(3.0)?

From: Rui Brito <rumanuel_at_netc.pt>
Date: Wed, 9 Jan 2002 00:26:19 -0000
Message-ID: <3c3b8cdd_at_212.18.160.197>


The problem is that you cannot reference bound items inside format triggers, only parameters.
In parameters, you cannot associate source "Total Pages". So, if you want to display field conditionality, by Return TRUE or FALSE depends of being in Last Page or not, you canīt. I have a situation with INVOICE documents, who I want display totals only in the last page.
For this, I need to count records of my query in AFTER PARAMETER FORM, (idem to the SELECT of report) to determine how many pages he have. This is a crazy solution, but I donīt know a better way to do this !

Rui Brito

"Joost Bataille" <j.r.l.m.batailleREMOVETHIS_at_uva.nl> wrote in message news:a1brb4$5fd$1_at_mail.ic.uva.nl...
> I haven't tried this but maybe it helps.
> You can create a field and set it's source property to 'Total pages'.
That's
> your last page number. Then reference this field in your code.
>
>
> "kaps78" <atulkotkar_at_yahoo.com> wrote in message
> news:178d05e9.0112280512.48e82f86_at_posting.google.com...
> > Hi!
> > I want to know how to get the last page number of Report.
> > I used SRW.GET_PAGE_NUMBER but it gives current page number.
> > I want to print different Title for Last Page which is not same for
> > the first pages before last page.
> > If anybody can find answer for me please reply me imd at
> > atulkotkar_at_yahoo.com
> > Thanks in advance.
> > Regards,
> >
> > Atul
>
>
> --
> Joost Bataille
> University of Amsterdam
>
>
Received on Wed Jan 09 2002 - 01:26:19 CET

Original text of this message