Report Design Properties
The following table describes the report design properties.
|
Property |
Description |
|---|---|
|
AutoDeclaration |
Specifies whether a variable is created with the same name as the design or design section. When you set this property to Yes, it is easier to access the report controls from X++ code, and you can find errors at compile time. |
|
Caption |
Specifies the name of the report that displays in the user interface. . |
|
Description, JobType |
Specifies the purpose and contents of a report. You can view this information by clicking the Tools menu, and then clicking . |
|
EmptyReportPrompt |
Specifies the message that displays when a report does not contain data. |
|
ArrangeWhen |
Specifies when report controls are arranged. |
|
ColorScheme |
Specifies the color palette. |
|
ForegroundColor |
Specifies the foreground color. |
|
ResolutionX, ResolutionY |
Specify the distance between grid lines. |
|
Ruler |
Specifies the unit for the ruler that displays when you edit a design. You can edit a design by right-clicking AutoDesignSpecs or Generated Design, and then clicking Edit. |
|
ReportTemplate |
Specifies a report template that is used when the design is generated. For more information, see Create Reports. |
|
TopMargin, BottomMargin, LeftMargin, RightMargin |
Specifies the margins. When you set these properties to Auto, the default values stored in the UserInfo system table are used. |
|
Language |
Specifies which language to use when the report is printed. |
|
Font, FontSize, Italic, Underline and Bold |
Specify the text formatting. The Font and Fontsize property settings override the values you can set by clicking on the Tools menu, and then clicking > . |
|
PrintFormName |
Specifies the form that is used to configure the print settings. |
|
HideBorder |
Specifies whether the section and control borders display. |
|
Orientation |
Specifies whether the orientation of a report is landscape or portrait. When the property is set to Auto, the orientation is based on the width of the report. The user can select the orientation by using the Print form. |
|
FitToPage |
Indicates whether the report is resized to fit the width of a page. When the property is set to Auto, the user can specify whether the report is resized by using the Print form. When a report is reduced to fit a page, a message displays when a report is printed. You can suppress the message by using the PrintJobSettings::suppressScalingMessage method. |
|
RemoveRepeatedHeaders, RemoveRepeatedFooters |
Specify whether multiple headers and footers are displayed. For example, if RemoveRepeatedHeaders is set to Yes for a report that shows transactions arranged by year, month, and week, and there is only one record, only the week header would be displayed. |
|
RemoveRedundantFooters |
Specifies whether a footer is displayed when it does not contain additional information, such as the sum of multiple values. |