| Input Parameters | Significance |
| DtvLong idf | field Id |
| char *def | default value of the field |
| Output Parameters | Significance |
| no | - |
| Return Code | Significance |
| 0 | no error |
| 1 | zero pointer |
| 2 | string is greater than field width |
The default value of the field is automatically entered into a field when records are newly created.
The function automatically invoke any set mask listener function.