Announcements
I am working on Sales order picking list. I create customize form for barcode scanning.
Screenshot shows my customized form for barcode scanning on picking list level.
My question is that how can I automatically change the gridline when barcode scan.
I use temp table for populate the data in form after the scanning user submit grid data into regular table.
So what's the best practice I use to change line to next one automatically after barcode scan.
Thanks in advance.
If you are on the last record and try to move on to the next record, it will open a new line.
In Debug, examine the structure and pay attention to the position you are in. The record you want to select and the positions of the record you are on may not be resolved with pos + 1.
I use that code on textchange method of grid column but its create new row on grid. But I want to change line on existing populated data. picture attach on my question.
I have never used it this way, but technically, we can change the selected record by providing position information.
You can say something like, If the barcode is full, switch to next (active, in modifield, or maybe a method like write).
It is necessary to think about it a little more and try a little bit, but it is technically possible.
int position; ; position= MyTable_ds.getPosition(); MyTable_ds.setPosition(position 1);
André Arnaud de Cal...
294,161
Super User 2025 Season 1
Martin Dráb
232,942
Most Valuable Professional
nmaenpaa
101,158
Moderator