I have a new simple list form that is opened to show all records from a list page.
When open the form, it is always show first record but not the selected record from the list page
The datasource in new form set as tmp let say is MyTable, when the form opens I want to set like below
MyTable selectedBuffer;
select firstonly MyTable
where MyTable.RefRecId == element.args().record().RecId;
selectedBuffer.data(MyTable);
MyTable_ds.positionToRecord(selectedBuffer);
I have try above code in datasource init but it's not working. In the executeQuery, the form open with the selected record only
How can i open a form with all records and the cursor is highlighted in the selected record from previous caller ?