My requirement is to be the cursor on the same record when a button is clicked, but the cursor is moving according to the formdatasource setposition property, but it should be on the same record.
FormDataSource inventTestGroup_ds = sender.formRun().dataSource();
int position = inventTestGroup_ds.getPosition();
inventTestGroup_ds.refresh();
inventTestGroup_ds.reread();
inventTestGroup_ds.research(true);
inventTestGroup_ds.setPosition(position);
No comments:
Post a Comment