DtvLong dal_mas_set_fmt_fld (idf, fmt)

Sets the format string of the field.

Input Parameters Significance
DtvLong idf field Id
char *fmt format string of the field

Output Parameters Significance
no -

Return Code Significance
0 no error
1 zero pointer

The format string applies to fields of the types integer, float, and money. If the irst character in the string is a minus, the field content will be positioned flush-left. A numerical character describes the number of digits after the decimal point for field of the type float and money.

Example: format strings:

The function automatically invoke any set mask listener function.