PDA

View Full Version : Numbering start page for a report



Pepe
27-Apr-2005, 12:33 PM
Hi,

I need to start a report with a operator defined page number, i.e.
instead of numbering page 1, 2 and so on start with page, say, 18,19, etc.

I have had a look at the properties of CR in VDF and there is one that
might solve the problem: StartPageN

The thing is that the help is not very explicit and (even VDF 11.0 beta)
makes reference to SetPrintOptions of which you can not find help at all.

Any idea in how to use it or if there is another way of doing it?

TIA
--
José Guimarães [ pg@moose-software.com ]
Director
Moose Software
Data Access Partner Spain & Portugal
http://www.moose-software.com

David Martinko
27-Apr-2005, 12:56 PM
You need 2 formulas in your report.

1 is the startpage
{@StartPage}
Set it's value to 0 by default

2nd is MyPagenumber
{@MyPagenumber}
Set it's value to "PageNumber + {@StartPage}"

Place {@MyPagenumber} on the report instead of the page number field.

Oh, and from VDF, you would set the value of the {@StartPage} to the page
number you want to begin with.

HTH,

--
David Martinko
Redeemed Software
248-535-7495
RedeemedSoftware(SHIFT+2)Hotmail(PERIOD)com
www.redeemedsoftware.com

"Pepe Guimarães" <pg@moose-software.com> wrote in message
news:f3HgPA1SFHA.1276@dacmail.dataaccess.com...
> Hi,
>
> I need to start a report with a operator defined page number, i.e. instead
> of numbering page 1, 2 and so on start with page, say, 18,19, etc.
>
> I have had a look at the properties of CR in VDF and there is one that
> might solve the problem: StartPageN
>
> The thing is that the help is not very explicit and (even VDF 11.0 beta)
> makes reference to SetPrintOptions of which you can not find help at all.
>
> Any idea in how to use it or if there is another way of doing it?
>
> TIA
> --
> José Guimarães [ pg@moose-software.com ]
> Director
> Moose Software
> Data Access Partner Spain & Portugal
> http://www.moose-software.com

Pepe
27-Apr-2005, 03:14 PM
Thanks for the input David, but I was curious if really there is a way
of using StartPageN and how to use it.

Regards
--
José Guimarães [ pg@moose-software.com ]
Director
Moose Software
Data Access Partner Spain & Portugal
http://www.moose-software.com

David Martinko
27-Apr-2005, 03:43 PM
Pepe,

I don't see much use in spending time on this API call which will not
work in the latest releases of Crystal Reports.

--
David Martinko
Redeemed Software
248-535-7495
RedeemedSoftware(SHIFT+2)Hotmail(PERIOD)com
www.redeemedsoftware.com