Announcement

Collapse
No announcement yet.

Insert data by form without push button (add)

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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

  • #2
    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..
    Albert Drent
    aducom software netherlands
    scriptcase partner, reseller, support and (turn-key) development
    www.scriptcase.eu / www.scriptcase.nl

    Comment


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

      Comment


      • #4
        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.
        Albert Drent
        aducom software netherlands
        scriptcase partner, reseller, support and (turn-key) development
        www.scriptcase.eu / www.scriptcase.nl

        Comment


        • #5
          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

          Comment


          • #6
            Thanks, it works for me. ill created a control application and Insert the data :-)

            Comment

            Working...
            X