Hello,
I have an expression in a query which involves going through assessment value field, covering multiple years, and selecting the most recent one. I get the expected result but it is not a currency field (e.g., I cannot sum the column in datasheet view -- but i can with the component parts).
I am hoping for some help, my several attempts have failed.
Below I tried using "FormatCurrency".
(I assumed an expression with all currency fields would result in the same. Is that false?)
AssmtMostRecentYr: FormatCurrency(IIf([Assessed-Value2025] Is Not Null,[Assessed-Value2025],IIf([Assessed-Value2024] Is Not Null,[Assessed-Value2024],IIf([Assessed-Value2023] Is Not Null,[Assessed-Value2023],IIf([Assessed-Value2022] Is Not Null,[Assessed-Value2022],IIf([Assessed-Value2021] Is Not Null,[Assessed-Value2021],0))))),2)
Thanks for any assistance!