I have a report and I want to do an if/else statement for each record in the report. It essentially says if the value of one field (from a query) is x, then assign a value of y to another field in the report.
But I cannot figure out how to do this. The code works in AfterUpdate on forms, but how do I tell the report to run the code?
But I cannot figure out how to do this. The code works in AfterUpdate on forms, but how do I tell the report to run the code?