#1 2012-11-12 19:37:03

josefkoller
Member
Registered: 2012-02-22
Posts: 11

Page counter

Hi,

I thin k I'm to stupid to use the pagecounter.

I found in SQLite3Pages the follow:  'page n/n'.

So I tested in footer:

          rep.AddTextToFooterAt('Page %d/%d', 200)
          rep.AddTextToFooterAt('Page n/n', 10);

and both don't show the page numbers.

What's wrong?

thanks

Josef

Offline

#2 2012-11-12 19:46:55

Leander007
Member
From: Slovenia
Registered: 2011-04-29
Posts: 113

Re: Page counter

Hi, You should use:

AddPagesToFooterAt('Page %d/%d',RightMarginPos);

"Uncertainty in science: There no doubt exist natural laws, but once this fine reason of ours was corrupted, it corrupted everything.", Blaise Pascal

Offline

#3 2012-11-12 21:00:32

josefkoller
Member
Registered: 2012-02-22
Posts: 11

Re: Page counter

Hi,

sorry. Now I see the declarations are above the procedures.

many thanks

josef

Offline

#4 2014-09-09 04:20:19

MaddoxDeluxe
Member
Registered: 2014-09-08
Posts: 2

Re: Page counter

I know this post is old, but how I like to do my:

AddPagesToFooterAt('http://synopse.info/forum/'+' - Page (%d/%d)',LeftMargin);

Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.

Offline

#5 2014-09-09 06:09:57

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,659
Website

Re: Page counter

@Maddox
What is your exact question?
I can't understand well your concern.

Offline

Board footer

Powered by FluxBB