MultiSelectionHelper selectionHelper = MultiSelectionHelper::construct();
Set selectedRecords = new Set(Types::Record);
MyTable myTable;
super();

selectionHelper.parmDataSource(MyTable_DS);
myTable = selectionHelper.getFirst();

if (myTable.RecId)
{

while (myTable)
{
    selectedRecords.add(myTable);
    info(strFmt("Selected record is %1",myTable.myField));//Display selected record
    myTable = selectionHelper.getNext();
}

}

标签: none

添加新评论