How to copy data from one form to another form

A Score Level 1

I have a requirement to copy data from one user form to another.

If a user has made one order, it is saved in the database. I need a functionality where I can use the saved order's data to be copied to another form. Does anyone know how can I achieve this functionality? 

Example would be very helpful.Thanks

  Discussion posts and replies are publicly visible

Parents Reply
  • 0
    Certified Lead Developer
    in reply to Tan18
    so when user click on copy button

    There is lots of magic you can do using the a!save() function inside the saveInto parameter of many component types (especially buttons).  For instance you could allow the user to select an existing record (which you've queried onto a form, perhaps in a grid), then press "COPY", and when that is pressed, copy the values field-by-field into a new/blank local variable (with cleared-out primary identifiers as Stefan mentioned), and fill in further details / changes as needed.

Children