Returns a table of currently selected records (from the main application), when the optional parameter is supplied only selected records matching the parameter are returned.
fhGetCurrentRecordSel([strTag])
| INDI | Individual |
|---|---|
| FAM | Family |
| NOTE | Note |
| SOUR | Source |
| REPO | Repository |
| SUBR | Submitter |
| SUBM | Submission |
| OBJE | Multimedia Object |
tblIndi = fhGetCurrentRecordSel('INDI') for i=1, #tblIndi do fhMessageBox(fhGetDisplayText(tblIndi[i])) end
Obtains the currently selected Individual records and populates a table of pointers tblIndi. #tblIndi is the number of elements in the table. It then cycles through the records returning each selected records name in turn.