Hello,
I have a query which I have tested in phpmyadmin and pulls in the results I need but I am not sure how to apply this query to CC.
SELECT column1,SUM(column2) FROM `table_name`
GROUP BY column1
Can anyone give me any advice/help?
Thanks
Mark
Hi ctrlmedia,
It's probably a problem with the SUM() :-(
You can turn site debug on temporarily to see all the queries and see exactly what is being generated.
A Custom Code action in ChronoForms will also create a list - and the DB Multi Record Loadesr action might also work as it is a bit more flexible than the CC listing setup.
Bob
Hello,
This may not be possible because Connectivity doesn't let you set the fields loaded from the main table, it loads all fields by default, you can do this with any associated table though, because they have fields "field".
Please contact me through the "Contact Us" page and I will try to add this new small feature and send you the patch๐
Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Thanks for your input Max,
I think I may have worked a way round the issue but if not I will definitely be in touch.
Thanks again for your help!
Hi,
Just a note, that latest version released few days ago got this feature!๐
Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.