Buy Now
Sign in

insert_id

soevind , November 04 2017
Answered
S
soevind
Hi

I have 2 data_save. Let's say data_save1 and data_save2.

I first save data_save1 and then i want to set the last saved ID from data_save1 into data_save2.
How can i do that ?
admin
In data_save2 you can use the "Data override" to set specific values for fields in the table, so let's say the field name is table_id, you can use:
table_id:{var:data_save1.id}
assuming the primary key of the table in "data_save1" is "id", but if the table is created using Chronoforms6 then the primary key is most probably "aid"

Best regards
Max
If your main question got answered then please mark the answer using the button!​
​Please let us know if you have any problems with the new forums text editor, we appreciate your feedback!