goesflavio
25th May 2007, 15:35
Hi everybory,
Im using a page() function in the report script in the section before field, but it is not workink, I tryed a test using another comand in the same section and work well, for exemplo:
I have a report that need contains 3 pages before that cotation, so I would trying like this.

before.tdsls001.qono.1:
after.layout:
| page() |It is not working.
| to.page(2) |It is not working too
skip.to(68) |It is working well, but I have 3 independents pages.

Cound someone help me?

Best regards,
Flavio.

kathuria
25th May 2007, 15:52
Hi,
Have you already given page break in report layouts. Kindly check this. But it should work.

Regards,
Sanjay

goesflavio
25th May 2007, 16:15
Hi Sanjay,
I have not. I thinking my problem is a enviroment problem, because other commands works well (like skip.to(x)).

I have done 2 report layouts (this is just a test report), follow:

before.tdsls001.qono.1:
after.layout:
page()

before.tdsls001.qono.2: || I hoped it in a new page (page 2), but dont happens.
before.layout:
do.something()

I have installed a bw84 and porting number (PA 3076).

Regards.

mark_h
25th May 2007, 16:51
I agree, this:

before.tdsls001.qono.1:
after.layout:
page()

should work. Have you run it in debug mode to make sure it gets to the statement.

goesflavio
25th May 2007, 16:53
Hi Sanjay,
I have not. I thinking my problem is a enviroment problem, because other commands works well (like skip.to(x)).

I have done 2 report layouts (this is just a test report), follow:

before.tdsls001.qono.1:
after.layout:
page()

before.tdsls001.qono.2: || I hoped it in a new page (page 2), but dont happens.
before.layout:
do.something()

I have installed a bw84 and porting number (PA 3076).

Regards.

goesflavio
25th May 2007, 16:59
Hi Mark, I debuged and saw that the program execute the section and the command, but it dont do what I need. I still put piped for this command and puted another one bolow, the second command works, but the first one not.
Maybe if I create another report and do this. I will try.

Best regards.

goesflavio
28th May 2007, 19:48
Hi everybory,
I tested the report again and did not work.
I did a new report and puted after before.layout the command page(), to.page(2), but did not work again. In the same report, in the same place I wrote skip.to(90).

Someone could help me.
Regards.
Flavio.

mark_h
28th May 2007, 21:26
I think this is a case of reporting it to support. Then again - is this working in any other report? It doesn't sound like it, but I would report it to the support center.

goesflavio
28th May 2007, 21:48
Hi Mark, I will folow your advice because I already tryed create another report for this especific test, but did not work.

Thanks Mark and everybory.

Best regards,
Flavio.