AnsweredAssumed Answered

If function problem

Question asked by tays01s on Jun 15, 2014
Latest reply on Jun 16, 2014 by philmodjunk

Title

If function problem

Post

     I must be doing something ridiculously stupid, but in the following equation, the alternate, male, equation is always selected, regardless of whether Patient::sex=f. Patient has a 1 to many relationship with Calc where the calculation field resides:

     If(Patient::Sex="f";10*kg+6.25*cm-5*Age-161;10*kg+6.25*cm-5*Age+5).

      

     The "f" or "m" are selected on Patient, through a radio button; it is a text field.

Outcomes