Forums

Using queries in

jabale 14 Feb, 2025
Who can help me?
I would like to use queries in ChronoMyAdmin to show, for example, the activities in a certain month (for example from March 1, 2025 to March 31, 2025)
13-02-2025 16-17-31.png

screenshot

Max_admin 14 Feb, 2025

This is Chronoforms8, if you need to limit the records date range then you can use a Where statement in Read Data:

where "doopdatum" is the name of the Date column

Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
jabale 17 Feb, 2025

Dear Max

Thank you very much for your quick response.Unfortunately, your suggestion does not yield the desired result.

Every time I enter a condition in the WHERE STATEMENT, I don't get a desired selection; all records are displayed.

What am I doing wrong?

screenshot_Where_Statement.png
screenshot_Result.png
Max_admin 17 Feb, 2025

what are your Table view settings ? please show a screenshot of it

Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
jabale 17 Feb, 2025
Answer

Dear Max

I found my mistake!

I had not filled in the Data Source field in the Table view settings and had entered the name of the table that I am querying in the "Table name" field.

Apparently the name next to "Read Data" (in the example "read_data2") must match what is entered in the "Data Source" field.

Thanks for your tip to view the Table view settings.

tabel_view_settings.png
result_01.png
jabale 17 Feb, 2025

I forgot an screenshot

query.png
Max_admin 17 Feb, 2025

Yes, having the Data Source should make it work as you need

so is it working well now ?

Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
jabale 17 Feb, 2025
1 Likes

Dear Max

Sure!
It now works exactly as I wanted it to.
Thanks to all developers!!!

You need to login to be able to post a reply.