When you refresh the SalesTable form with F5, the form stays on the same sales order but jumps to the first salesline on that order.
So if you have 100 sales lines and press F5 then you lose your current position in the lines part of the screen.
I have tried overwriting the Task method of the form adding a salesline_ds.findrecord(tmpsalesline); instruction. The findrecord is carried out but then it jumps to the first record.
I also tried adding a method on a button that reads
Salesline tmpsalesline;
tmpsalesline.data(salesline);
salestable_ds.research(true);
salesline_ds.findrecord(tmpsalesline);
This behaves in exactly the same way, the correct record is selected but then the screen jumps to the first record.
Does anyone have any idea what is going on?
*This post is locked for comments
I have the same question (0)