List DateTime input field - FocusItem Property

Reference to the datetime field in the focus entry of the list

Member of List DateTime input field (PRIM_MD.ListDateTime)

Data Type - PRIM_MD.ListDateTimeCurrentItem - Provides access to the datetime field of the current list item

Details

The FocusItem property of a list DateTime field allows access to the individual items within the list entries.
 
A list DateTime field will only have a FocusItem if the FocusItem in the list has been set.

Example

Testing for a focus item before accessing the value property of the item.
If (#DateTime.FocusItem *isnot *null)
 
   If (#ListdateTIme.FocusItem = #Today)
      ...
   Endif
 
Endif

See also

All Component Classes

Technical Reference

Febuary 18 V14SP2