jbaanm
29th July 2015, 16:23
I have a one field table, with Form Type 2 session.
where user wants to enter data and cursor goes to next record. But our wish is to save the previous record automatically without clicking on save button.
So, user enter one record, program should save it automatically and cursor goes to next record after pressing tab.

How to do this?


Thanks
Jay

bhushanchanda
29th July 2015, 18:05
Hi,

Check this
Thread 1 (http://www.baanboard.com/baanboard/showthread.php?t=32656)
Thread 2 (http://www.baanboard.com/baanboard/showthread.php?t=61425)
Thread 3 (http://www.baanboard.com/baanboard/showthread.php?t=64192)
Thread 4 (http://www.baanboard.com/baanboard/showthread.php?p=29851)


If on LN, you can simply use -

after.form.read:
enable.save.on.occ.change()

jbaanm
4th August 2015, 22:33
Sorry. This is for Baan IV. None worked.
If we use execute(update.db) it is giving recursion error.

Please let me know.

Thanks

bhushanchanda
4th August 2015, 22:54
Hi,

Can you post your code?