HPage Posted September 13, 2006 Posted September 13, 2006 (edited) How do you use tickbox entries in calculations? For instance, Say I have a tick box with 5 values, (Eg. A, B, C, D,E) and I want to use an "if" statement with them. I want the result of the statement to be true if A is selected, but any of the other values can be selected with A, it still stays true. So far I used If(TickboxField ="A"; blah blah), It works If A is the only option selected. How do I make it work so that any other options can be selected with A? Edited September 13, 2006 by Guest
Lee Smith Posted September 13, 2006 Posted September 13, 2006 The Case function to me is easier to use, this is not tested, but it should be correct. Case( TickboxField = "A"; "blah"; Tickboxfield = "B"; "blab"; Tickboxfield = "C"; "you get the idea") HTH Lee
HPage Posted September 13, 2006 Author Posted September 13, 2006 Yes thankyou, that is easier to use, but It still does not solve my problem. I will try to make myself more clear. If A is selected, the expression must be true, nevermind if B or C ect is selected with A. At the moment the expression is true when A is selected, but the moment I select something else with A it does not work.
Raybaudi Posted September 13, 2006 Posted September 13, 2006 Case( PatternCount(TickboxField;"A");1; 0 )
HPage Posted September 13, 2006 Author Posted September 13, 2006 Thanks a million, that did the trick!
Recommended Posts
This topic is 6648 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