How to invoke a calendar in a form

You can enter a value directly to a date field or use the calendar facility in APPS. Calendar lets you the following needs.
·         Represent date and time graphically so that you can make a quick selection without typing.
·         Select only those dates or date ranges that are suitable for the current field.

How to invoke a calendar in a form.

To invoke a calendar in a custom form you need to do the following.
·         Create a text item with data type DATE in the form.
·         Set the LOV of the text item to ENABLE_LIST_LAMP in the property sheet.
·         Set the LOV for Validation property of the text item to FALSE.

·         Create an item level trigger KEY-LISTVAL as CALENDAR.SHOW