Calculated Field Not Working
Posted: 2022-09-05 09:10
Hi all, I have this sql statement set in the Calculated Field tab on AppGini...
The statement works beautifully in PhpMyAdmin but when I go to the table view of the generated AppGini site, it is showing 0.00 for that column.
I have set the following for the field...
Darren.
Code: Select all
SELECT CONCAT("£",(SELECT `Leads`.`AmountAgreed` FROM `Leads`
WHERE `Leads`.`id`='%ID%') - (SELECT `Leads`.`AmountPaid` FROM `Leads`
WHERE `Leads`.`id`='%ID%'))
I have set the following for the field...
- Read Only
- Data Type = Decimal
- Length = 10
- Precision = 2
Darren.