Zip Code
- Last UpdatedMar 30, 2022
- 5 minute read
The Zip Code control is used to add a zip code a report.

In the Property Grid, the Zip Code control's properties are divided into the following groups:
Appearance
Background Color
Specifies the background colour for the controls contained within the band. This option
is also available on the Formatting Toolbar (
).
Border Color, Border Dash Style, Border Width and Border
Specifies border settings for the control.
Font
Specifies the font settings for the controls contained within the band. Some of these settings are available on the Formatting Toolbar..
Foreground Color
Specifies the text colour for the controls contained within the band. This option
is also available on the Formatting Toolbar (
).
Formatting Rules
Displays the Formatting Rules Editor which enables users to choose which rules should be applied to the band during report generation, and define the precedence of the applied rules. For further information, refer to Conditionally Change a Control's Appearance.

Padding
Specifies indent values which are used to render the contents of a Bar Code.
Style Priority
Defines the priority of various styles (for example, background colour or border colour). For further information on style inheritance, refer to Styles Concepts.
Styles
Defines odd and even styles for the controls, as well as assigning an existing style to the them (or a newly created one). For further information on style inheritance, refer to Styles Concepts.
Behaviour
Anchor Vertically
Specifies the vertical anchoring style of the control, so that after page rendering it stays attached to the top control, bottom control, or both. The property setting is useful for data-bound controls located between upper and lower controls, which are able to resize depending on their contents.
Keep Together
Specifies whether the contents of the control can be horizontally split across pages. In other words, if the control occupies more space than remains on the page, the property specifies whether the control is split between the current page and the next, or printed entirely on the next page. If the control does not fit on the next page either, the control is split, regardless of the property value.
Scripts
Contains events which can be handled with scripts. For further information, refer to Handle Events via Scripts.
Segment Width
This property setting specifies the width of the lines (in pixels) used to draw the numbers in the zip boxes of the control.
Visible
Specifies whether the control is visible when using the print preview.
Data
(Data Bindings)
If the current report is bound to data, the property is used to bind control properties (Bookmark, Navigation URL, Tag and Text) to a data field obtained from the report data source, and to apply a format string. For further information, refer to Display Values from a Database (Bind Report Elements to Data).
Tag
This property enables users to add additional information to the control; for example its Id, by which it can then be accessed by scripts.
If the current report has a data source, the Tag property can be bound to a data field obtained from the data source. To do this, expand the (Data Bindings) property and from the Tag.Binding dropdown list, select the required data field.
Text
Used to enter the text of the Zip Code. Enter digits and dashes only. Other characters will not be displayed.
If the current report has a data source, the Text property can be bound to a data field obtained from the data source. To do this, expand the (Data Bindings) property, and in the Text.Binding dropdown menu, select the required data field. For further information, refer to Display Values from a Database (Bind Report Elements to Data).
Design
(Name)
Determines a control's name, by which it can be accessed in the Property Grid and by scripts.
Layout
Location
Specifies the location of the control in report measurement units.
Size
Specifies the control's size, in report measurement units.
Snap Line Margin
Specifies the margins for the control, which are maintained when the control is aligned using snap lines.
Navigation
Bookmark and Parent Bookmark
These properties are used to create a hierarchical structure within a report called a document map.
If the current report has a data source, the Bookmark property can be bound to a data field obtained from the data source. To do this, expand the (Data Bindings) property and from the Bookmark.Binding dropdown list, select the required data field.
Navigation URL and Navigation Target
Use the Navigation URL property to specify a URL for web browser navigation when a user clicks the control. The web browser displays a page in a window or a frame as specified by the Navigation Target property.
Note:
A URL should have an appropriate prefix (for example, 'http://'). Cross references
can be created within the report by assigning the name of the target control to the
Navigation URL property, and setting the Navigation Target property to _self. For further information, refer to Create Hyperlinks.
If the current report has a data source, the Navigation URL property can be bound to a data field obtained from the data source. To do this, expand the (Data Bindings) property and from the Navigation URL.Binding dropdown menu, select the required data field.