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!

auto detect doesnt work

samir1903 23 Apr, 2019
I have tried all type of write action but doesnt give what i am looking for

i put update where condition aid=student_no
what i am looking for is if this student no exist update if not insert
after there is insert update and all other sections exists, dont tell me use switch or php😲
healyhatman 24 Apr, 2019
Auto detect works off of the primary key. If you're having trouble what you can do is have a read data action looking for the record to update. If it's found, have a save data action set to update. If it's not found, have one set to insert.

Can also try the "Insert - on duplicate key update"
Max_admin 24 Apr, 2019
1 Likes
"Insert - on duplicate key update" will do what you need!
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
samir1903 24 Apr, 2019
insert on update doesnt work
i have read aid:student_no
then form data provider is this db read
then i have module Student[name].........
then when i say db save what ever you say doesnt work
even when i open text puts comes loaded with new student page whit your suggestion
Max_admin 24 Apr, 2019
What is the debug result of the "save data" ?
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
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