Auto Insert

exists any wat to autoinsert the current record once modified the last field instead pressing the button un a editable grid form, my users find a little difficult the process.

Thanks in advance

[QUOTE=penguinale1980;22626]exists any wat to autoinsert the current record once modified the last field instead pressing the button un a editable grid form, my users find a little difficult the process.

Thanks in advance[/QUOTE]

you can set an ajax event onblur on the latest field. Disadvantage is that you need to manually add the record using sql.

Can you please elaborate on how to do this?

I like to auto insert the row (in an editable grid view) after completing the last fields (on blur). What code do I have to put in ajax event?

[QUOTE=capecode;24368]Can you please elaborate on how to do this?

I like to auto insert the row (in an editable grid view) after completing the last fields (on blur). What code do I have to put in ajax event?[/QUOTE]

It would be on the onblur of the last field although I’m not sure if its available in a edtiable grid. That works different compared to an ordinary form.

Thks I will try

Look at my suggestion there http://www.scriptcase.net/forum/showthread.php?204-Create-a-form-for-product-inclusion-using-barcode

Just a little JS…

[QUOTE=gbravi;24382]Look at my suggestion there http://www.scriptcase.net/forum/showthread.php?204-Create-a-form-for-product-inclusion-using-barcode

Just a little JS…[/QUOTE]

Imho the best option. But does it work on editable grids?

Yes, it does work on editable grids. I got it to work now. Thanks.