AnsweredAssumed Answered

Case vs If statements

Question asked by tays01s on Jun 17, 2013
Latest reply on Jun 18, 2013 by philmodjunk


Case vs If statements


     Some time back I asked how to calculate a value (eg. Energy) that has different equations depending on disease (~150 diseases). Case statements would, as suggested, be a simple solution. 3 Q's:

     1. The equations are not just different, but they have 0-6 variables that presumably require a field for entry.

     2. Those 0-6 variables are often different depending on disease.

     3. I'd like to present the user with the variable edit boxes contextually, ie. with some kind of label and only appearing when needed (keep in mind that there are 150).