Crystal repors XI

Vsi vaši problemi s programsko opremo.
Odgovori
Vorlon
Prispevkov: 49
Pridružen: 11.05.2004 10:16:53

Crystal repors XI

Odgovor Napisal/-a Vorlon » 12.03.2008 08:14:37

Pozdravljeni,
Imam problem z Crystal reports. Na izpisku je group footer precej obsežen, in hitro se zgodi, da se znajde na novi strani brez group footerja (se pravi na izpisku se pojavi samo page header in group footer brez group headerja). Se pravi, če se group footer natisne na novi strani, bi se moral natisnit tudi group hader, kaj storiti, da se bo to zgodilo ?

Vsaka ideja je dobrodošla.

Lep pozdrav,
Robert

vovi
Prispevkov: 85
Pridružen: 03.10.2007 20:11:52

Crystal repors XI

Odgovor Napisal/-a vovi » 12.03.2008 21:07:44

Pogledaj v navodila.

http://diamond.businessobjects.com/file ... Gde_en.pdf

na Strani 79 je napisano:


How often do report objects print?
The way objects print will determine how you design your report. This will help
you decide where to place charts, Cross-Tabs, and formulas to get specific
results.

Report Header
Objects placed in the Report Header area print once, at the beginning of the report.
• Charts and Cross-Tabs placed in this area contain data for the entire report.
Note: Both charts and Cross-Tabs can filter report data by using a Group
Sort; in such cases, the data shown in the chart or Cross-Tab is a subset
of the data for the entire report.
• Formulas placed in this area are evaluated once, at the beginning of the
report.

Page Header
Objects placed in the Page Header area print at the beginning of each new page.
• Charts or Cross-Tabs cannot be placed in this section.
• Formulas placed in this area are evaluated once per page, at the
beginning of each new page.

Group Header
Objects placed in the Group Header area print at the beginning of each new
group.
• Charts and Cross-Tabs placed in this area contain data just for the group.
• Formulas placed in this area are evaluated once for each group, at the
beginning of the group.

Details area
Objects placed in the Details area print with each new record.
• Charts or Cross-Tabs cannot be placed in this area.
• Formulas placed in this area are evaluated once for each record.

Group Footer
Objects placed in the Group Footer area print at the end of each group.
• Charts and Cross-Tabs placed in this area contain data just for the group.
• Formulas placed in this area are evaluated once for each group, at the
end of the group.

Report Footer
Objects placed in the Report Footer area print once at the end of the report.
• Charts and Cross-Tabs placed in this area contain data for the entire
report.
Note: Both charts and Cross-Tabs can filter report data by using a Group
Sort; in such cases, the data shown in the chart or Cross-Tab is a subset
of the data for the entire report.
• Formulas placed in this area are evaluated once, at the end of the report.

Page Footer
Objects placed in the Page Footer area print at the bottom of each page.
• Charts and Cross-Tabs cannot be placed in this area.
• Formulas placed in this area are evaluated once per page, at the end of
each new page.

Skratka:

Ce nakaj rabiš na vsaki strani, potem je potrebno to dati v PageHeader sekcijo (kar mislim da v tojem primeru ne pride v poštev).

Edino rešitev za tvoj problem je da uporabiš linked subreporte (page header subreporta ima obliko group header-ja).
Poglej 470 stran navodila.

Lep pozdrav

Vorlon
Prispevkov: 49
Pridružen: 11.05.2004 10:16:53

Crystal repors XI

Odgovor Napisal/-a Vorlon » 13.03.2008 14:01:22

Skratka:

Ce nakaj rabiš na vsaki strani, potem je potrebno to dati v PageHeader sekcijo (kar mislim da v tojem primeru ne pride v poštev).
Ja sem tudi jaz mislil, da ne bo delovalo, kot bi morala, a se je izkazalo, da je zaenkrat rešitev prav to (del group headerja sem prestavil v page header). Sedaj pa testiramo.

Hvala za izčrpen odgovor.

l.p.

Odgovori