DMXzone Database Updater PHP Support Product Page

Answered

Insert multiple records

Asked 31 Oct 2013 14:01:15
2
have this question
31 Oct 2013 14:01:15 D.D.M. van Zelst posted:
Hi is it also possible to insert multiple records at once?
Let's say having 5 rows of input fields (static or dynamically generated) and then insert all 5 records at once.
Thanks.

Replies

Replied 01 Nov 2013 10:13:52
01 Nov 2013 10:13:52 Teodor Kuduschiev replied:
Hello,

If you have 5 fields on your page and you want to submit them you need to create 5 Database Insert Executors , attach them to the 5 field values. Then on the insert button you run the first of them, and using the behaviors, on success you can run the next executor, when it is successfully run you can run the third ..etc.
Replied 01 Nov 2013 13:11:46
01 Nov 2013 13:11:46 D.D.M. van Zelst replied:
Thanks Teodor,
I did not think of that.
Replied 24 May 2017 20:38:02
24 May 2017 20:38:02 Carlin Chesnet replied:
is there a better option then this? I have a form that the user can specify the number of steps and that determines the number of records that need to be added to the database.

after the records are created then the user will be sent to a dynamic table that will allow them to do the multi-row-updater for all the steps.

I just need to know how to setup the repeater on the initial create step to make the correct number of new records based on the users input from the form.

Reply to this topic