strublepeter
MIS
Given:
A subform with totals.
A control on the subform with the source:
=IIf ([Forms]![Subproject/TransactionHead]![TransactionHead].[Form]!{PlanAmt] = Sum ([PlanAmt]/1000),"In Balance","Out Of Balance"
The words show as appropriate.
Now I want the field to show a background color of green or red depending upon the condition of balance. IOW if the field is In Balance I would like a Geen background usw.
I tried using conditional formatting with I have used many times on similar conditions. I have also tried using program code to set the BackgroundColor depending upon the value of the ifeld -- nothing works.
Where have I gone astray?
A subform with totals.
A control on the subform with the source:
=IIf ([Forms]![Subproject/TransactionHead]![TransactionHead].[Form]!{PlanAmt] = Sum ([PlanAmt]/1000),"In Balance","Out Of Balance"
The words show as appropriate.
Now I want the field to show a background color of green or red depending upon the condition of balance. IOW if the field is In Balance I would like a Geen background usw.
I tried using conditional formatting with I have used many times on similar conditions. I have also tried using program code to set the BackgroundColor depending upon the value of the ifeld -- nothing works.
Where have I gone astray?