| Parameter | Description |
|---|---|
| iItem (Optional) | The item number (0 if omitted). |
Property Integer Form_Datatype
| Read Access: | Get Form_Datatype [iItem] to IntegerVariable |
| Write Access: | Set Form_Datatype [iItem] to IntegerVariable/Value |
Form_DataType determines an item's data type and mask type. The mask type selected will determine what type of Form_Mask value can be used for this item.
You must set Form_DataType in conjunction with Form_Mask.
Valid values are:
| Mask_Window | Masked String data type |
| Mask_Numeric_Window | Masked Numeric data type |
| Mask_Date_Window | Masked Date data type |
| Mask_DateTime_Window | Masked DateTime data type |
| Mask_Time | Masked Time data type |
| Mask_Currency_Window | Masked Currency data type |
| Ascii_Window | Unmasked String data type |
| Date_Window | Unmasked Date data type |
| Number | # of digits (0..8) to the right of the decimal point |
Number means you should add the number of digits that the masked number should display, for example 2.
Set Form_DataType to 2
If Form_Mask is not set, it uses the regional long setting for display (hh:mm:ss).
It always uses the regional setting for input.
Does not support milliseconds.
Masking is not supported in Combo forms.
See AlsoForm_Mask | Currency_Mask | Numeric_Mask | Value | DF_Field_Type