A given date field control's current value in OI's internal format.
Usage
Set_Property(OLECtrlEntID, "OLE.DateFieldValue[key]", Date)
Values
Date must be a valid date in OI's internal date format.
Default: ""
Indices
Index | Description |
---|---|
key | The target date field's unique control key |
Remarks
The DateFieldValue property gets or sets the current value of a given date field control. When you defined the date field control during the Init method, you gave it a unique key. You must pass that key in order to get or set its value. The value must is in OI's internal format, or "" if the control is empty. You can even set this property to "" to clear it's value.
Example
// Set the date field value to my birthday, making sure it's in internal format Set_Property(@Window:".OLE_RIBBON", "OLE.DateFieldValue[DTF_DOB]", IConv("3/30/1978", "D"))