ChronoEngine.com homepage

Forums

Please write a review for the extension you are using on the Joomla extensions directory before posting a new question as we are being spammed by many negative reviews.

Thank you for your support!

Updating Record in Table

vividal 05 Feb, 2018
I am trying to update a field in a record in a table based on one of the fields in the form. I have changed the "write action" to Update but when I add the update condition nothing is written to the table/field. If I leave the update condition blank, the field I want to update gets updated for ALL records in the table (definitely not what I want). I am thinking my syntax is wrong. Can someone please look at it and let me know.
vividal 05 Feb, 2018
[file=10008]Field-Seed.jpg[/file]
[file=10009]Field-Team_id.jpg[/file]
[file=10010]Save_Action.jpg[/file]
[file=10011]write-debug.jpg[/file]
Max_admin 06 Feb, 2018
Hi vividal,
{Teams.team_id} has no value, you have a field named team_id and so you may want to use {data:team_id} to reference the value of that field!
Best regards
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
vividal 06 Feb, 2018
I just tried TDT.team_id:{data.team_id} as an Update Condition and that doesnt change the record either. any other thoughts?
Max_admin 06 Feb, 2018
Hi vividal,
A debugger after the "Save data" should show you the SQL command executed, you can then change it accordingly, or post it here.
Best regards
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
Max_admin 06 Feb, 2018
Hi vividal,
A debugger after the "Save data" should show you the SQL command executed, you can then change it accordingly, or post it here.
Best regards
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
Max_admin 06 Feb, 2018
Hi vividal,
A debugger after the "Save data" should show you the SQL command executed, you can then change it accordingly, or post it here.
Best regards
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
vividal 06 Feb, 2018
Answer
1 Likes
thx for the debug after Save Data. I have debugs all over but never occured to me to put one there. I figured out the issue.
This topic is locked and no more replies can be posted.

2Checkout.com

2CheckOut.com Inc. (Ohio, USA) is an authorized retailer for goods and services provided by ChronoEngine.com