Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 9 Extending Report Table Attributes : Task B2: Add a Display Mask for Numeric and Date Fields

Task B2: Add a Display Mask for Numeric and Date Fields
What is a Display Mask?
A display mask enables numeric fields to be printed according to common conventions, for example, 1,000 or $1,000.00, or 03/14/2000. The display mask for the field MONTHLY_EXP of the sample report is defined as ZZZZ9V.99 and this converts to 10000.00.
Adding a Display Mask
To add a mask to the numeric or date fields you can use the Display Mask field illustrated below:

 
Display Mask : MMM/DD/YYYY

 
Refer to TIBCO Object Service Broker Defining Screens and Menus for detailed information on the use of display masks.
Date Display Mask Examples
The following table lists examples of date display masks:
Numeric Display Mask Examples
The following table lists examples of numeric display masks, where [] represents a blank character:

Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved