DtvLong dal_mas_rea_fld (idf, row, str)

Reads the text string (field content) at the specified row position from the field.

Input Parameters Significance
DtvLong idf field Id
DtvLong row row position in the field

Output Parameters Significance
char *str text string

Return Code Significance
0 no error
1 wrong row position

This function always returns a string. DataView does not perform any type casting.

The content of a field of the type boolean is returned as > y < if the value is toggled to > ON < , and as > n < if the value is toggled to > OFF < . Else > < is returned.

Any final spaces (format flush left) or leading spaces (format flush right) will be removed.

In the calling function have to be allocated Virtual column width+1 bytes storage place

This function only supports field types of a length <= 255 characters, i.e. no Longtext fields. In order to process strings in Longtext fields the functions dal_mas_set_ltx_fld, dal_mas_chk_ltx_fld and dal_mas_ret_ltx_fld are available.