Hello, everyone. I'm trying to write a report in Microsoft Access 97, and can't get the right result.
I want a textbox field to display "Y" or "N" depending on whether a job is within tolerance or not. What I have written in the Control Source is :-
=if((([VoyRat]-[AvgRat])>0.003), "N", "Y"
I picked the field names from the list in the event builder, so I know it's not just a spelling error.
When I preview the report though, I get an "Enter Parameter Value" dialog box asking for a value for 'if'! Whatever I enter, the report shows #NAME. What am I doing wrong?
Thanks for your help,
Richard
I want a textbox field to display "Y" or "N" depending on whether a job is within tolerance or not. What I have written in the Control Source is :-
=if((([VoyRat]-[AvgRat])>0.003), "N", "Y"
I picked the field names from the list in the event builder, so I know it's not just a spelling error.
When I preview the report though, I get an "Enter Parameter Value" dialog box asking for a value for 'if'! Whatever I enter, the report shows #NAME. What am I doing wrong?
Thanks for your help,
Richard