DtvLong dal_wdh_get_sel (inc, ide_ori, ide_joi, elm_nam)

Returns the characteristic data of the records selected in the widget mask.

Input Parameters Significance
DtvLong inc position increment:
0 = first selected record
-1 = same selected record
1 = next selected record

Output Parameters Significance
DtvLong *ide_ori Id of the record in the source table
DtvLong *ide_joi Id of the record in the join table
char *elm_nam significant field names of the record

Return Code Significance
value row position of the selection
0 no further selection

The position increment has the following significance:

Example: The row position of the first selected record is returned as follows:

row = dal_wdh_get_sel (0,0,0,0)

In the calling function have to be allocated sum of column widths of significant fields+1 bytes storage place.

Note! You must not use dal_wdh_get_sel to determine the active record in Mask-Edit state. For this purpose there are the parameter-free functions dal_mas_ret_act_... and dal_mas_ret_wrk_mod. The dal_wdh_get_sel function only returns selected records. In Mask-Edit state these are always all records that are currently being edited.