Morning,
Relative newbie, I am trying to use expression builder to display a text based on a criteria asked for in the query itself. I cannot come up with a way to reference that and identify it; everything else works as advertised. I know "Display Text" I just need to set it based on a user input from the query itself.
This is where the input comes in criteria: "AMG" Or [Program]
This is my expression:
DisplayText: IIf([tbl_unit]![UnitSection]="AMG" And "AMA","xxxxxxxx",IIf([tbl_unit]![UnitSection]="AMG" And "AMP","yyyyyyyyy","zzzzzzzzz"))
it doesn't pull exactly correctly, but it would be so much easier just to pull the [Program] input
TIA
David