Control App: moving from a field A to a field B and return to A

Hi,
i have a control application and two fields A and B.
I have the cursor on A where i read a bare code which moves the focus to B (an Ajax event). After i would like to come back with the cursor to A to read a new bare code .
How to do it ?

Regards
Gianpaolo

Use:

sc_set_focus(‘A’)

sc_set_focus(‘Field’)

ok for the sc_set_focus instruction , but where i have to use it , ajax event o javascript event on field B to come to A ?

Ajax event: fieldB_onChange

it doesn’t work…

If you can export this application (form) and attach a table from the database and send it to me, I can give you a quick look.