new row other table

new row other table

estudiosestudios Posts: 52Questions: 0Answers: 0
edited July 2013 in General
Allan

I need to insert a new row with other (not the ones in the form) fields in another table. I mean I have typical form in the NEW screen where we type the values of the fields and when I clic "ok" a new row must be inserted in the current table and a new row must me inserted in another table with other fields. How can I do it?

Replies

  • allanallan Posts: 63,512Questions: 1Answers: 10,472 Site admin
    Could you describe a little bit more about what you are looking for please? Do you want the second new row to be interested into a database table, or just a client-side table? If the former, the the way I'd do it myself is to have the script on the server insert the new row in to the second table and then on the client-side reload the data for the table (the fnReloadAjax plug-in for example is ideal for that).

    Regards,
    Allan
This discussion has been closed.