Ben Ball Posted December 13, 2007 Posted December 13, 2007 I have a calculation field which calculates fieldA - fieldB = X but the result calculates even if field A is empty or if fieldB is empty... how can I stop this? I can do it if fieldA is empty but how if fieldB happens to be empty also?... TIA Ben
dreamingmind Posted December 13, 2007 Posted December 13, 2007 Ben, At the bottom of the calculation dialog box is a check box for "do not evaluate if all fields are empty"... or there is in FMv9. Can't recall if this is in v6. However, if it's not there or it doesn't work, you can use a case statement to stop the calc. case( (test field A) AND (test field ; result-if-both-true ; result-if-not-both-true) Regards, Don
Ben Ball Posted December 14, 2007 Author Posted December 14, 2007 I am actually on 8 advanced... however.... yes that box is checked as default but the calculation was still working if one or the other field was empty... maybe because I was using an "if" statements? however.... thanks for your calc... that works and very handy for me..
Recommended Posts
This topic is 6249 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now