in V1 i have a report with this structure:
Page header
Group header
Data band
Group footer
Page footer
In Group header i set "Reset Page Number"=True and "Start new page"=True.
Correctly, in the first page is printed the page header, the group header and so on.
In V2 08/06/08 i have the same structure, and in Group header i have set: "Reset Page Number"=True and "New Page Before"=True (to obtain the same behavior of old "Start new page").
The result is that in the first page is printed ONLY the page header, then from the second page the correct data are printed (page header then group header)
Moreover, in v2 then "PageNOfM" field has a strange behavior:
say that in previuos example we have four pages (based on grouping):
In the first page is printed only Page header (as i said before).
In second page is printed "Page 1 of 1".
In third page is printed "Page 1 of 2".
In fourth page is printed "Page 2 of 2".
In fifth page is printed "Page 2 of 2".
Thanks.
V2: prints only page header on first page, PageNOfM strange behavior
- Fabio Pagano
- Posts: 355
- Joined: Mon Apr 16, 2007 12:38 pm
- Location: Bari (Italy)
V2: prints only page header on first page, PageNOfM strange behavior
Hello, Fabio.
The issue with EngineV2 and page numbering is confirmed. Thank you for your explanation in detail.
Also thank you for the tip about compatibility in structure of report.
We will post the message in this topic about our results.
Thank you.
The issue with EngineV2 and page numbering is confirmed. Thank you for your explanation in detail.
Also thank you for the tip about compatibility in structure of report.
We will post the message in this topic about our results.
Thank you.
V2: prints only page header on first page, PageNOfM strange behavior
Hello Fabio,
Problem fixed. Please check next prerelease build.
Thank you.
Problem fixed. Please check next prerelease build.
Thank you.
V2: prints only page header on first page, PageNOfM strange behavior
Hello Fabio,
All problems fixed. For also we have added new property - SkipFirst. This property solve problem with new pages.
Thank you.
All problems fixed. For also we have added new property - SkipFirst. This property solve problem with new pages.
Thank you.
- Fabio Pagano
- Posts: 355
- Joined: Mon Apr 16, 2007 12:38 pm
- Location: Bari (Italy)
V2: prints only page header on first page, PageNOfM strange behavior
The problems seems solved, thanks, but now a question about conversion from V1 to V2.
I have designed this report in V1 engine. Now with 08 December 2008 version 2008.3.315 (V2 engine) when i open the report in design (this happens programmatically) i (always programmatically) force the v2 engine: to have a "newpage" when the "Address" group changes, i've had to manually set the property "New page before" (on the address group) to "True". If i did not this, the newpage was not honoured. I expected that the "New page before" property was automatically setted to "True" when i have programmatically forced the V2 version because he found the "Start new page" property of the old version to "True".
(Sorry for not resizing screen shots).
This was the result after passing to V2: i've lost the new page at the address changing:

The property "New page before" (in Italian "Nuova pagina prima") of the address group was false:

Now i have setted the property "New page before" of the address group at "True":

And now the result is correct:

Not a big problem, anyway, just signaling.
Thank you.
-- added
To be more clear, i expected that the "New page before" property of V2 engine was automatically setted to "True" if the old "Start new page" property of the design made in V1 engine was "True".
I have designed this report in V1 engine. Now with 08 December 2008 version 2008.3.315 (V2 engine) when i open the report in design (this happens programmatically) i (always programmatically) force the v2 engine: to have a "newpage" when the "Address" group changes, i've had to manually set the property "New page before" (on the address group) to "True". If i did not this, the newpage was not honoured. I expected that the "New page before" property was automatically setted to "True" when i have programmatically forced the V2 version because he found the "Start new page" property of the old version to "True".
(Sorry for not resizing screen shots).
This was the result after passing to V2: i've lost the new page at the address changing:

The property "New page before" (in Italian "Nuova pagina prima") of the address group was false:

Now i have setted the property "New page before" of the address group at "True":

And now the result is correct:

Not a big problem, anyway, just signaling.
Thank you.
-- added
To be more clear, i expected that the "New page before" property of V2 engine was automatically setted to "True" if the old "Start new page" property of the design made in V1 engine was "True".
V2: prints only page header on first page, PageNOfM strange behavior
Hi Fabio
Thank you for explanation in detail. We analyzed the situation with automatic conversion of the StartnewPage property into EngineV2 set of properties and realized that exact automatic conversion is not possible, because logic of this property had been changed and it is impossible to know all the cases for automatic conversion. Sometimes you have to reassign properties even to other components.
Thank you.
Thank you for explanation in detail. We analyzed the situation with automatic conversion of the StartnewPage property into EngineV2 set of properties and realized that exact automatic conversion is not possible, because logic of this property had been changed and it is impossible to know all the cases for automatic conversion. Sometimes you have to reassign properties even to other components.
Thank you.