Formula Field Properties
This topic lists the properties of a Formula Field object. The availabilities of the properties vary for the supported report types: Page Report, Web Report and Library Component.
Property Name | Available For | Description |
---|---|---|
General | ||
Data Type | Query Page Report | Shows the data type of the formula. This property is read only. |
Expression | Query Page Report | Shows the expression of the formula. This property is read only. |
Field Type | Query Page Report | Shows what kind of field it is. This property is read only. |
Formula Editor | Query Page Report | Edits the formula. Select the ellipsis button in the value cell to open the Formula Editor dialog box to edit the formula. |
Formula Name | Page Report, Web Report, Library Component | Shows the name of the formula. This property is read only. |
Instance Name | Query Page Report | Shows the instance name of the object. This property is read. |
Geometry (not supported on formulas used as crosstab column/row fields or formulas inside a heat map) | ||
Height | Page Report, Web Report, Library Component | Specifies the height of the object. Type a numeric value to change the height.
Data type: Float |
Width | Page Report, Web Report, Library Component | Specifies the width of the object. Type a numeric value to change the width.
Data type: Float |
X | Page Report, Web Report, Library Component | Specifies the horizontal coordinate of the top left corner of the object, relative to its parent container. This property is ignored if the Position property is set to static. Type a numeric value to change the position.
This property is read only for formulas that are used to summarize data in a crosstab. Data type: Float |
Y | Page Report, Web Report, Library Component | Specifies the vertical coordinate of the top left corner of the object, relative to its parent container. This property is ignored if the Position property is set to static. Type a numeric value to change the position.
This property is read only for formulas that are used to summarize data in a crosstab. Data type: Float |
Color | ||
Background | Page Report, Web Report, Library Component | Specifies the background color of the object. Choose a color from the drop-down list or select Custom to customize a color, or type a hexadecimal RGB value (for example, 0xff0000) to specify a color. For page report, you can also use a formula or edit an expression that returns a color.
Data type: String |
Foreground | Page Report, Web Report, Library Component | Specifies the foreground color of the object. Choose a color from the drop-down list or select Custom to customize a color, or type a hexadecimal RGB value (for example, 0xff0000) to specify a color. For page report, you can also use a formula or edit an expression that returns a color.
Data type: String |
CSS | ||
Class | Page Report, Web Report, Library Component | Specifies a CSS class to be applied to the object which is a valid class in the CSS file.
Data type: String |
ID | Page Report, Web Report, Library Component | Specifies the identifier of the object, which must be unique in the report. The ID property can be a style sheet selector.
Data type: String |
Style | Page Report, Web Report, Library Component | The property can be used in two ways.
Data type: String |
Excel (not supported on formulas inside a crosstab) | ||
Column Index | Page Report, Web Report | Specifies the X coordinate of the object relative to its parent container when exported to Excel or CSV, measured in cells. The Columned property at the page report tab or web report level must be set to true for this property to take effect.
Data type: Integer |
Row Index | Page Report, Web Report | Specifies the Y coordinate of the object relative to its parent container when exported to Excel or CSV, measured in cells. The Columned property at the page report tab or web report level must be set to true for this property to take effect.
Data type: Integer |
Padding (not supported on formulas inside a heat map) | ||
Bottom Padding | Page Report, Web Report, Library Component | Specifies the space between the text and the bottom border of the object. Type a numeric value to change the padding.
Data type: Float |
Left Padding | Page Report, Web Report, Library Component | Specifies the space between the text and the left border of the object. Type a numeric value to change the padding.
Data type: Float |
Right Padding | Page Report, Web Report, Library Component | Specifies the space between the text and the right border of the object. Type a numeric value to change the padding.
Data type: Float |
Top Padding | Page Report, Web Report, Library Component | Specifies the space between the text and the top border of the object. Type a numeric value to change the padding.
Data type: Float |
Border (not supported on formulas inside a heat map) | ||
Border Color | Page Report, Web Report, Library Component | Specifies the color of the border of the object. Choose a color from the drop-down list or select Custom to customize a color, or type a hexadecimal RGB value (for example, 0xff0000) to specify a color. For page report, you can also use a formula or edit an expression that returns a color.
Data type: String |
Border Thickness | Page Report, Web Report, Library Component | Specifies the width of the border. Type a numeric value to change the thickness.
Data type: Float |
Bottom Line | Page Report, Web Report, Library Component | Specifies the line style of the bottom border of the object. Choose a style from the drop-down list.
Data type: Enumeration |
Left Line | Page Report, Web Report, Library Component | Specifies the line style of the left border of the object. Choose a style from the drop-down list.
Data type: Enumeration |
Right Line | Page Report, Web Report, Library Component | Specifies the line style of the right border of the object. Choose a style from the drop-down list.
Data type: Enumeration |
Shadow | Page Report, Web Report, Library Component | Specifies whether to draw two shadowed borders, beneath and to the right of the object.
Data type: Boolean |
Shadow Color | Page Report, Web Report, Library Component | Specifies the color of the shadow. Choose a color from the drop-down list or select Custom to customize a color, or type a hexadecimal RGB value (for example, 0xff0000) to specify a color. For page report, you can also use a formula or edit an expression that returns a color.
Data type: String |
Top Line | Page Report, Web Report, Library Component | Specifies the line style of the top border of the object. Choose a style from the drop-down list.
Data type: Enumeration |
Pattern | ||
Pattern Color | Page Report, Web Report, Library Component | Specifies the color in which to draw a pattern to fill the object. Choose a color from the drop-down list or select Custom to customize a color, or type a hexadecimal RGB value (for example, 0xff0000) to specify a color. For page report, you can also use a formula or edit an expression that returns a color.
Data type: String |
Pattern Style | Page Report, Web Report, Library Component | Specifies the style of the pattern. Choose an option from the drop-down list.
Data type: Enumeration |
Text Format | ||
Auto Fit | Page Report, Web Report, Library Component | Specifies whether to adjust the width and height of the object according to the contents.
Not supported on formulas inside a heat map.
Data type: Boolean |
Auto Scale in Number | Page Report, Web Report, Library Component | The property is available when the object is of the Number data type. It specifies whether to
automatically scale the object values that fall into the two ranges:
The option "auto" means that the property setting follows that of the object's parent data container. Data type: Boolean |
Bold | Page Report, Web Report, Library Component | Specifies whether to make the text bold.
Data type: Boolean |
Convert HTML Tag | Query Page Report | Specifies whether or not to parse the HTML tag elements that are included in the text of the object as the web browser translates them into HTML in the report result. There are the following limitations on the property:
Data type: Boolean |
Font Face | Page Report, Web Report, Library Component | Specifies the font of the text. Choose an option from the drop-down list.
Data type: Enumeration |
Font Size | Page Report, Web Report, Library Component | Specifies the font size of the text. Type an integer value to change the size.
Data type: Integer |
Format | Page Report, Web Report, Library Component | Specifies the display format of the text in the report result. It varies with data type and can be manually defined.
Data type: String
|
Horizontal Alignment | Page Report, Web Report, Library Component | Specifies the horizontal justification of the text in the object. Choose an option from the drop-down list. Not supported on formulas inside a heat map.
Data type: Enumeration |
Ignore HTML Tag | Page Report, Web Report, Library Component | Specifies whether or not to ignore the HTML tag elements that are included in the text of the object at runtime and in the HTML output of the report.
Note: The property Convert HTML Tag has higher priority than Ignore HTML Tag. Data type: Boolean |
Italic | Page Report, Web Report, Library Component | Specifies whether to make the text italic.
Data type: Boolean |
Maximum Width | Page Report, Web Report, Library Component | Specifies the maximum width of the text displayed. Type a numeric value to change the width.
This property often works with the Auto Fit property. If Auto Fit is true and Maximum Width is not equal to 0, the text will extend until the width is this value. Data type: Float |
Strikethrough | Page Report, Web Report, Library Component | Specifies whether to add a strikethrough line to the text.
Data type: Boolean |
Underline | Page Report, Web Report, Library Component | Specifies whether to underline the text.
Data type: Boolean |
Vertical Alignment | Page Report, Web Report, Library Component | Specifies the vertical justification of the text in the object. Choose an option from the drop-down list. Not supported on formulas inside a heat map.
Data type: Enumeration |
Word Wrap | Page Report, Web Report, Library Component | Specifies whether to wrap the text to the width. Not supported on formulas inside a heat map.
Data type: Boolean |
Others | ||
Cache Value | Query Page Report | Specifies whether to cache the value of the field instead of obtaining it repeatedly.
Data type: Boolean |
Column Name | Query Page Report | Substitutes the current field with another field by selecting from the drop-down list.
To make the property editable, clear Forbid changing column in the Options dialog box (File > Options > Panel > Forbid changing column). Data type: String |
Data Mapping File | Page Report, Web Report, Library Component | Specifies the data mapping file to the object for NLS use.
For example, if the data mapping file name is Category_de_DE.properties, set the value as Category (without the language and locale part). Data type: String |
Detail Report | Query Page Report | Specifies the detail report that the object is linked to. Select in the value cell to set the detail report. For more information, see Linking to a Detail Report.
This property is not supported on formulas inside a crosstab. Data type: String |
Detail Target Frame | Page Report | This property is supported on formulas in the group header/footer panel of a banded object and enabled when Go to Detail is set to true.
Specifies the target window or frame in which to display the detailed information. Choose an option from the drop-down list. Data type: String |
Display Null | Page Report, Web Report, Library Component | Specifies the string to be displayed if the field value is null.
Data type: String |
Enable Hyperlink in Excel | Page Report, Web Report, Library Component | Specifies whether to enable the link defined on the object in the Excel output of the report. Not supported on formulas that are inside a crosstab in a web report/library component.
Data type: Boolean |
Enable Hyperlink in HTML | Page Report, Web Report, Library Component | Specifies whether to enable the link defined on the object in the HTML output of the report. Not supported on formulas that are inside a crosstab in a web report/library component.
Data type: Boolean |
Enable Hyperlink in PDF | Page Report, Web Report, Library Component | Specifies whether to enable the link defined on the object in the PDF output of the report. Not supported on formulas that are inside a crosstab in a web report/library component.
Data type: Boolean |
Expand Data | Page Report | This properties is supported on formulas that are used as column/row fields in a crosstab only.
It specifies whether to allow Page Report Studio users to expand and collapse the details of the column/row group generated by the field in a crosstab. This property works only when the Expand Data property of the crosstab is set to true. Data type: Boolean |
Expand Detail Data | Page Report | This properties is supported on formulas that are used as column/row fields in a crosstab only.
It specifies whether the details of the column/row group generated by the field in a crosstab is expanded by default in Page Report Studio. It is meaningful to enable the property only when the field's Expand Data property is set to true. Data type: Boolean |
Export to CSV | Page Report, Web Report, Library Component | Specifies whether to include the object in the CSV output of the report.
If it is set to true in page report, only the string value will be included when the object is displayed as a barcode or text field, and only the text will be included when the object is displayed as a checkbox, radio button or button.
Data type: Boolean |
Export to Excel | Page Report, Web Report, Library Component | Specifies whether to include the object in the Excel output of the report.
If it is set to true in page report, only the string value will be included when the object is displayed as a text field.
Data type: Boolean |
Export to HTML | Page Report, Web Report, Library Component | Specifies whether to include the object in the HTML output of the report.
Data type: Boolean |
Export to PDF | Page Report, Web Report, Library Component | Specifies whether to include the object in the PDF output of the report.
If it is set to true in page report, only the string value will be included when the object is displayed as a text field.
Data type: Boolean |
Export to PostScript | Page Report, Web Report, Library Component | Specifies whether to include the object in the PostScript output of the report.
If it is set to true in page report, only the string value will be included when the object is displayed as a text field.
Data type: Boolean |
Export to Report Result | Page Report, Web Report, Library Component | Specifies whether to include the object when previewing the report in Page/Web Report Result and running the report in Page/Web Report Studio, or when the library component is used in JDashboard.
Data type: Boolean |
Export to RTF | Page Report, Web Report, Library Component | Specifies whether to include the object in the RTF output of the report. If it is set to true in page report, only the string value will be included when the object is displayed as a text field, and only the text will be included when the object is displayed as a radio button or button.
Data type: Boolean |
Export to Text | Page Report, Web Report, Library Component | Specifies whether to include the object in the Text output of the report.
If it is set to true in page report, only the string value will be included when the object is displayed as a barcode or text field, and only the text will be included when the object is displayed as a checkbox, radio button or button.
Data type: Boolean |
Export to XML | Page Report, Web Report, Library Component | Specifies whether to include the object in the XML output of the report.
If it is set to true in page report, only the string value will be included when the object is displayed as a barcode or text field, and only the text will be included when the object is displayed as a checkbox, radio button or button.
Data type: Boolean |
Filter Options | Query Page Report | Specifies the filter-related options that will be displayed on the shortcut menu when right-clicking the object in Page Report Studio.
Data type: Integer |
Go to Detail | Query Page Report | This property is available only when the object is in the group header/footer panel of a banded object.
Specifies whether to show the detailed information when you select the object in Page Report Studio. For more information, see Obtaining Detailed Information from a Banded Object. Data type: Boolean |
Invisible | Page Report, Web Report, Library Component | Specifies whether to show the object in the design area and in the results. All formulas and calculations will still be performed if the property is set to true. Not supported on formulas that are inside a crosstab.
Data type: Boolean |
Link | Page Report, Web Report, Library Component | Specifies to link the object to another report, a website, an e-mail address or a Blob data type field. Select in the value cell to set the link target. For more information, see Adding Links in Reports.
Data type: String |
Logic Column | Page Report, Web Report, Library Component | This property is supported when the object is in a table.
Specifies whether to show the object in the next visible table cell in the same row when the column which holds the object is hidden. Choose an option from the drop-down list. Data type: Enumeration
|
Order By | Query Page Report | This property is supported on formulas that are used as column/row fields in a crosstab only. It specifies the field by which to sort the data.
Data type: String |
Position | Page Report, Web Report, Library Component | Specifies the position of the object. Choose an option from the drop-down list. Not supported on formulas that are inside a crosstab or heat map.
Data type: Enumeration |
Record Location | Page Report, Web Report, Library Component | Specifies the calculation point for the properties of the object which are controlled by formulas. Choose an option from the drop-down list.
Data type: Enumeration |
Suppress | Query Page Report | Specifies whether to show the object in the design area and in the report result. All formulas and calculations will be skipped if the property is set to true.
Data type: Boolean When you set both the Invisible and Suppress properties of an object to true, Suppress has the higher priority. |
Suppress When No Records | Query Page Report | Specifies whether to display the object in the report result when no record is returned to its parent data component.
Data type: Boolean |
Suppress When Null | Query Page Report | If true and its value is null, the field will not be displayed.
Data type: Boolean |
Transfer Style | Page Report, Web Report, Library Component | Specifies whether the style group of the primary report will be applied to the linked report if the object is linked to a report.
Data type: Boolean |
Value Delimiter | Page Report, Web Report, Library Component | Specifies the separator for the data whose type is DBArray.
The default value space means that the elements will be displayed in a horizontal line and separated by a space. Data type: String |
TOC (only supported on formulas in a banded object) | ||
Anchor Display Value | Page Report | Specifies a string or formula to display for the TOC entry for this object in the TOC Browser. By default it is the value of the specified object. The TOC Anchor property must be set to true for this property to take effect.
Data type: String |
TOC Anchor | Page Report | Specifies whether to include the object in the TOC Browser for the report.
Data type: Boolean |
Accessibility | ||
Abbr | Page Report, Web Report, Library Component | This properties is supported on formulas that are inside a crosstab only.
It is mapped to the HTML attribute abbr. This attribute specifies an abbreviated form of the content of the object. The abbreviated text may be rendered by user agents when appropriate in place of the object's content. Data type: String |
Axis | Page Report, Web Report, Library Component | This properties is supported on formulas that are inside a crosstab only.
It is mapped to the HTML attribute axis. This attribute is used to place a cell into conceptual categories that can be considered to form axes in an n-dimensional space. The value of this attribute is a comma-separated list of category names. Data type: String |
External AccessKey | Query Page Report | It is mapped to the HTML attribute accesskey. This attribute specifies an access key to the object.
Data type: String |
External CSS Class Selector | Query Page Report | Specifies a class selector to be applied to the object when exported as HTML. Type a valid class name from the CSS file.
Data type: String |
External Dir | Query Page Report | It is mapped to the HTML attribute dir. This attribute specifies the base direction of directionally neutral text in the object's content and attribute values. It also specifies the directionality of tables. Possible values:
Data type: String |
External ID | Query Page Report | It is mapped to the HTML attribute id. This attribute specifies a name to the object, which must be unique in the report.
Data type: String |
External Style | Query Page Report | It is mapped to the HTML attribute style. This attribute specifies style information for the object.
Data type: String |
External TabIndex | Query Page Report | It is mapped to the HTML attribute tabindex. This attribute specifies the position of the object in the tabbing order for the current report. Type an integer equal to or greater than 0 and less than 65535.
Data type: Integer |
External Title | Query Page Report | It is mapped to the HTML attribute title. This attribute offers advisory information about the object.
Data type: String |
Headers | Page Report, Web Report, Library Component | This properties is supported on formulas that are inside a crosstab only.
It is mapped to the HTML attribute headers. This attribute specifies the list of header cells that provide header information for the current data cell. The value of this attribute is a space-separated list of cell names; those cells must be named by setting their id attribute. Data type: String |
HrefLang | Query Page Report | It is mapped to the HTML attribute hreflang. This attribute specifies the base language of the resource designated by a link and may only be used when a link is specified.
Data type: String |
Language | Query Page Report | It is mapped to the HTML attribute lang. This attribute specifies the base language of the object's attribute values and text content.
Data type: String |
LongDesc | Query Page Report | It is mapped to the HTML attribute longdesc. This attribute specifies a link to a long description of the object.
Data type: String |
Scope | Page Report, Web Report, Library Component | This property is supported on formulas that are inside a crosstab only.
It is mapped to the HTML attribute scope. This attribute specifies the set of data cells for which the current header cell provides header information. Available values are:
Data type: String |
Tag Name | Page Report, Web Report, Library Component |
This property is not supported on formulas that are in a chart or map.
It specifies the header tag name of the object used for labeling the heading order of the object in the PDF output for accessibility. When setting the property, you should make sure that the headers are nested properly following the rules below so that the heading tag sequence can be accepted by Adobe.
Data type: Enumeration |