Hello all, can I run something really simple past you? I can't for the life of me figure out why it's not working.
The source query for my report has a field called Sort Code.
If I put a text box on the report and type its Control Source as [Sort Code], sure enough the report displays the Sort Code field. However I want to build-in an 'iif' statement in the report (not the query) that returns a blank field if the sort code is a certain value. So just from the perspective of trying to get the logic to work, why does this, typed into the Control Source:
...return #Error instead of the Sort Code field?
Running Access 2003. Thanks
The source query for my report has a field called Sort Code.
If I put a text box on the report and type its Control Source as [Sort Code], sure enough the report displays the Sort Code field. However I want to build-in an 'iif' statement in the report (not the query) that returns a blank field if the sort code is a certain value. So just from the perspective of trying to get the logic to work, why does this, typed into the Control Source:
Code:
=IIF(1=1,[Sort Code],"")
...return #Error instead of the Sort Code field?
Running Access 2003. Thanks
Last edited: