Insert data by form without push button (add)

Because the fact, customers need to fill in a lot orders, we want to add data (insert) automatic after the last field in the form (without pushing the add button)

regards Marcel Jaspers

That will be quite a challenge. But afaik you can assign a shortcut to it. Otherwize you need an ajaxevent of some kind. But it’s not a default behaviour as far as I know…

On the Onfocus event? What kind of sc_macro or code do i need to insert the form data ?

You need a control application and supply the sql yourself. On the right side of the editor you find ‘inserting data into another table’ snippet. On focus will work if you have a dummy field which gets focus after tab.

Hello,

You could also grab the event from the default insert button and call it on your code. It may work depending on where you have to put it.

regards,
Bernhard Bernsmann

Thanks, it works for me. ill created a control application and Insert the data :slight_smile: