Display Format


If the control type is Label, Link, TextBox, or TextArea, the Display Format property allows you to automatically change the presentation of your data.


The Display format is used to transform the value in the field before it is shown to the user. The transformation occurs on the server before data is sent to the client.

The Display format is often used to format data such as dates, currency values, convert a character value to uppercase, etc. If the field is an RTF Memo, contains HTML markup, or image data, Special Formats can be used to format the value so it displays properly.

The format can reference the current value in the field using the <value> placeholder. For example, the expression below will convert the first character in the field to upper case and leave the rest of the string unformatted:


 Pre-defined Formats

Several pre-defined formats are available for the most common formats. A pre-defined format can be selected using one of the two buttons in the Display Format dialog -- Select Pre-Defined Format and Special Formats. Depending on the data type of the field, the pre-defined formats available will vary.

Pre-defined formats for Character fields
Pre-defined formats for Date fields
Special Formats are built-in for Memo field and images
There are no predefined display formats for short time (Y) fields. However, you can write your own.
If the control type is "TextBox" and the field type is "Date", then a Date Picker will appear. You must set the date picker format to use the same style.

 International Currency Format

The International Currency Format button opens a dialog that can be used to build a format for currency for countries throughout the world. The currency code is pre-defined for a variety of countries. Select the desired country from the dropdown list, use the text boxes to specify the decimal places, thousands separator, etc and click OK to insert the format into the Display Format dialog.