SOLVED - Values derived from List of records by MySql query Type is not saved in database

Ask your questions here.
Post Reply
amamyoj
Posts: 44
Joined: 17 Nov 2023, 19:37
Name: Joy Pacardo
Location: Philippines

SOLVED - Values derived from List of records by MySql query Type is not saved in database

Post by amamyoj »

Hi,

Can anyone confirm or explain why the values derived from List of records by MySql query is not being saved in the database? In the entity Leading Indicators, I have a column there name "CCV - Managers Completed' and its type is 'List of records by MySql Query', when I checked the database, the value is not being saved in the database.

1st photo attached is the screenshot of the database
2nd photo is the column with the type List of Records by MySql Query
3rd photo is the supposed to be value of the column in the entity.
Attachments
54.png
53.png
53.png (8.19 KiB) Viewed 83 times
52.png
52.png (3.12 KiB) Viewed 83 times
Last edited by amamyoj on 22 Dec 2023, 07:21, edited 1 time in total.
Didou12
Posts: 487
Joined: 14 Jan 2023, 14:53
Name: Louis
Location: Montreal, Canada

Re: Values derived from List of records by MySql query Type is not saved in database

Post by Didou12 »

No it’s not saved because it’s a MySQL query (dynamic).

https://docs.rukovoditel.net/index.php?p=101

What do you want to do with the count ? You have many options.
Using Rukovoditel since 2022 --- v3.4 (with extension) in French on PHP 8.2
I keep the French translation up to date
I'm trying to help you (+10 years experience in html, css, php, sql, JS/jquery, python)
amamyoj
Posts: 44
Joined: 17 Nov 2023, 19:37
Name: Joy Pacardo
Location: Philippines

Re: Values derived from List of records by MySql query Type is not saved in database

Post by amamyoj »

Thanks for replying. I have found a workaround for this. Instead getting the records from the Leading Indicators entity where the data is being combined from other entities. I wrote a query that will get those data from their original entities :)
Didou12
Posts: 487
Joined: 14 Jan 2023, 14:53
Name: Louis
Location: Montreal, Canada

Re: SOLVED - Values derived from List of records by MySql query Type is not saved in database

Post by Didou12 »

It’s perfect 🙂
Using Rukovoditel since 2022 --- v3.4 (with extension) in French on PHP 8.2
I keep the French translation up to date
I'm trying to help you (+10 years experience in html, css, php, sql, JS/jquery, python)
Post Reply