the idea is to check $M5 and if not empty count "vendor number" field otherwise is "0". I am sure it is syntax because I am a JET spaz. Not a regular user, sorrry. Thanks for the help!
=IIF($M5 > "0", NL("Count","SF_DATA",,"DataSource=","SF_DATA","Vendor_Number",$M5), "0")
Date
Votes
1 comment
-
Jet Reports Historic Posts Hi K,
I think for starters, you need to not quote your zeros. $M5 > "0" will not work if the value in M5 is actually a number and not a string. I think your formula should look something like this:=IF($M5>0, NL("Count","SF_DATA",,"DataSource=","SF_DATA","Vendor_Number",$M5),0)
Does that work better?
Regards,
Hughes
Please sign in to leave a comment.