Microsoft SQL Server 2008 R2 Specifiche Pagina 192

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 236
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 191
172 CHAPTER 9 Reporting Services Enhancements
Pagination Properties
There are three new properties available to manage pagination: Disabled, ResetPageNumber,
and PageName. These properties appear in the Properties window when you select a tablix,
rectangle, or chart in the report body or a group item in the Row Groups or Column Groups
pane. The most common reason you set values for these properties is to dene different pag-
ing behaviors based on the rendering format, now that the global variable RenderFormat is
available.
For example, assume that you create a tablix that summarizes sales data by year, and
group the data with the CalendarYear eld as the outermost row group. When you click the
CalendarYear group item in the Row Groups pane, you can access several properties in the
Properties window, as shown in Figure 9-7. Those properties, however, are not available in the
item’s Group Properties dialog box.
FIGURE 9-7 Pagination properties
Assume also that you want to insert page breaks between each instance of CalendarYear
only when you export the report to Excel. After setting the BreakLocation property to Be-
tween, you set the Disabled property to False when the report renders as Excel by using the
following expression:
=iif(Globals!RenderFormat.Name="EXCEL",False,True)
Reporting Services keeps as many groups visible on one page as possible and adds a soft
page break to the report where needed to keep the height of the page within the dimen-
sions specied by the InteractiveSize property when the report renders as HTML. However,
when the report renders in any other format, each year appears on a separate page, or on a
separate sheet if the report renders in Excel.
Whether or not you decide to disable the page break, you can choose the conditions to
apply to reset the page number when the page break occurs by assigning an expression to
the ResetPageNumber property. To continue with the current example, you can use a similar
conditional expression for the ResetPageNumber property to prevent the page number from
resetting when the report renders as HTML and only allow the reset to occur in all other
formats. Therefore, in HTML format, the page number of the report increments by one as you
page through it, but in other formats (excluding Excel), you see the page number reset each
time a new page is generated for a new year.
Vedere la pagina 191
1 ... 191 192 193 ... 236

Commenti su questo manuale

Nessun commento

Enerpac ZUTP-Series manuales

Manuales del propietario y guías del usuario para Zapatillas Enerpac ZUTP-Series.
Ofrecemos 1 manuales en pdf Enerpac ZUTP-Series para descargar gratis por tipos de documentos: Manual de usuario






Más productos y manuales para Zapatillas Enerpac

Modelos Tipo de documento
ATP-Series Manual de usuario        Enerpac ATP-Series User Manual, 106 paginas
ZA4T-Series Manual de usuario        Enerpac ZA4T-Series User Manual, 76 paginas
PTA-Series Manual de usuario       Enerpac PTA-Series User Manual, 40 paginas
ZU4T-Series Manual de usuario    Enerpac ZU4T-Series Manuel d'utilisation, 16 paginas
PME-Series Manual de usuario       Enerpac PME-Series User Manual, 36 paginas
TQ-700E Manual de usuario       Enerpac TQ-700E User Manual, 88 paginas
PE-Series Manual de usuario    Enerpac PE-Series Benutzerhandbuch, 16 paginas
PMU-Series Manual de usuario       Enerpac PMU-Series User Manual, 48 paginas
SFP-Series Manual de usuario   Enerpac SFP-Series User Manual, 6 paginas
PU-Series Manual de usuario       Enerpac PU-Series User Manual, 56 paginas
11-400 Manual de usuario    Enerpac 11-400 Manuel d'utilisation, 10 paginas
P-2282 Manual de usuario       Enerpac P-2282 User Manual, 20 paginas
P-392FP Manual de usuario     Enerpac P-392FP User Manual, 14 paginas
MP-Series Manual de usuario       Enerpac MP-Series User Manual, 30 paginas
P-Series Manual de usuario        Enerpac P-Series User Manual, 96 paginas
P-Series ULTIMA Manual de usuario        Enerpac P-Series ULTIMA User Manual, 128 paginas
MP-Series Manual de usuario    Enerpac MP-Series Benutzerhandbuch, 16 paginas