G
gdwilliams11
Hello! I'm trying to build an IIf function. I have a column in a table
denoted Tax Payment. Next to it, I have a column denoted Tax Payment Amount
(field is currency). The Tax Payment criteria is set to yes or no. I want
to build a function that says if [Tax Payment] is yes, then [Tax Payment
Amount] can't be zero. I've built and IIf function that looks like this:
=IIf([Tax Payment]="yes", <>0, 0) and I keep getting an error message! Could
someone please tell me (1) if my function is built correctly and (2) can I
use this function in a table criterion or is it just for query's, forms,
etc...? If I can only use this in a query, how should I set up my query?
Thanks a bunch for all of the help!
denoted Tax Payment. Next to it, I have a column denoted Tax Payment Amount
(field is currency). The Tax Payment criteria is set to yes or no. I want
to build a function that says if [Tax Payment] is yes, then [Tax Payment
Amount] can't be zero. I've built and IIf function that looks like this:
=IIf([Tax Payment]="yes", <>0, 0) and I keep getting an error message! Could
someone please tell me (1) if my function is built correctly and (2) can I
use this function in a table criterion or is it just for query's, forms,
etc...? If I can only use this in a query, how should I set up my query?
Thanks a bunch for all of the help!