DtvLong dal_wdh_get_sel_chk (chk, inc, ide_ori, ide_joi, elm_nam)

Returns the characteristic data of the records selected in the widget mask. As opposed to dal_wdh_get_sel, the database version check can be deactivated.

Input Parameters Significance
DtvLong chk 0 = no version check
1 = with version check (like dal_wdh_get_sel)
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 originating table
DtvLong *ide_joi Id of the record in the Join table
char *elm_nam significant field name of the record

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

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 program, storage capacity equivalent to sum of column widths of the significant fields +1 Byte must be made available.

The function is automatically invoked by dal_wdg_get_sel mit chk=1.