| Input Parameters | Significance |
| DtvLong idf | field Id |
| DtvLong row | row position in the field |
| Output Parameters | Significance |
| char **ptr | pointer to text string |
| Return Code | Significance |
| 0 | no error |
| -1 | field Id is NULL |
| -2 | memory not available |
| 1 | wrong row position |
You can apply the function for fields of any type.
Final spaces in case of left-flush format and leading spaces in case of right-flush format are removed.
Memory is only allocated if *ptr == NULL, else text is only read. Memory is allocated using the function dal_mem_mal and automatically released at the entry into the next event loop.