|
|
|
|
|
MemoryFormat (Property) In french: FormatMémorisé
Overview Two formats are used by the Date and Time edit controls and by the Calendar controls: - The format of the displayed value (called the input mask): this format is used to display the date or time in the Edit control.
- The format of the value returned by the program or transferred into an item.
If the input mask and the returned value are not identical, the conversion is automatically performed when saving the associated record. The format of returned value is typed in the window editor, in the "Details" tab of the description window of Date or Time edit controls. The MemoryFormat property gets and sets the format of the value returned for: - Date or Time edit controls.
- the columns of the Date or Time Table controls.
- Calendar controls.
- Static Text controls.
 the editable Combo Box controls.  the columns of the Table controls displayed by Combo Box controls.
Syntax
Finding out the returned value Hide the details
<Returned value> = <Control used>.MemoryFormat
<Returned value>: Character string Format currently used for the returned value of the specified control.For edit control fields and Table field columns, if this parameter corresponds to an empty string (""), the "As is" option is selected: the returned value then corresponds to the edit control mask (known programmatically via property InputMask). For the Calendar controls, the default format is used ("YYYYMMDD") if this parameter corresponds to an empty string (""). <Control used>: Control name Name of the control used: - "Date" or "Time" edit control,
- "Date" or "Time" column of a Table control,
- Calendar control.
Remarks Limits The MemoryFormat property applies only to: - "Date" and "Time" edit controls.
- "Date" and "Time" columns of a Table control.
- Calendar controls.
- Static Text controls.
editable Combo Box controls. columns of a Table control displayed by Combo Box controls.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|