DtvLong dal_mas_set_typ_fld (idf, type)

Sets the data type of the field.

Input Parameters Significance
DtvLong idf field Id
char type data type of the field:
A = ASCII file, (type presently not supported)
B = binary file (BLOB)
C = calculate
D = date
F = float
I = integer
L = Logic
M = money
S = string

Output Parameters Significance
no -

Return Code Significance
0 no error

The function automatically invoke any set mask listener function.

You must set the field type of a mask field immediately after creating it (dal_mas_cre_fld) or before changing its field dimension (dal_mas_siz_fld), respectively. The dal_mas_siz_fld function automatically limits the total field length of all non-BLOB fields to 255 characters. The dal_mas_set_typ_fld function also applies this limitation if the field type is changed from BLOB to non-BLOB.