I have a report based on a query that I need the report to look at each record and change each field that has a value as 0 to change it's value to "-". I have tried to set up an IIF statement as below as the source of each of the fields and have come away with an error each time:
=IIF([hrs_cmplt]=0,"-",[hrs_cmplt])
I tried to change it at the query level and when I do it works perfectly. But, when I run the report, it tells me that I have an invalid data type.
Maybe this is something for recordsetting? I am not familiar with that but do truly want to learn.
Please let me know your ideas.
Thanks,
Noel
=IIF([hrs_cmplt]=0,"-",[hrs_cmplt])
I tried to change it at the query level and when I do it works perfectly. But, when I run the report, it tells me that I have an invalid data type.
Maybe this is something for recordsetting? I am not familiar with that but do truly want to learn.
Please let me know your ideas.
Thanks,
Noel