Hi guys, I'm new in ChronoForms and i need to get a Data with the ID "x" that the user put in forms, add 1 and save again. How could a do this?
Forums
How could I get a data from ID save another
The data is already in the database table or it's coming from the form ?
The data is in the database table, in the form i have the ID that I wanna use to search the data
Why are you adding 1 and resaving? Sounds ripe for collision. Any reason you can't just leave the ID auto increment?
I'm not adding the ID, I just use the ID to search the data in column "Y" and adding 1.
Read the data record, then use a "Save data" action and set the conditions to
pkey:{var:read_data_name.Model.pkey}Then add the field to increment in the "Special fields" box
This topic is locked and no more replies can be posted.