#format.datePicker("<DatePickerName>", mask)#
Usage
This expression retrieves a date from the form or report based on the Date Picker name, and sets a mask for the display of the copied date. This expression allows you to pick a date on the criteria page of a report and have that date appear on the report formatted to the selected mask.
The expression is:
#format.datePicker(“fieldname”,”mask”)#
with the following two parameters:
- DatePickerName: Selects an existing field in the form or report.
- Mask: Sets the display for the date value.
Example
You might use this expression to take the Start Date from the Criteria page of a report and copy the Start Date to the body of the report with a different format.
Note: If you use this expression in a Label field, be sure to clear the
mask parameter for the Label field. Otherwise, the mask parameter overrides the
mask set in this expression.