May 20, 2005 #1 Hueby MIS Oct 20, 2004 321 US Hi all, I'm trying to use a IF/ElSE loop in a formula. I have this in there now: Code: numbervar total; if {spTMWOhours;1.pid} = 1 then total = total + {#RTotal0} ....All I get back is True or False. Am I doing this wrong?? Can anyone give some insight? Thanks!
Hi all, I'm trying to use a IF/ElSE loop in a formula. I have this in there now: Code: numbervar total; if {spTMWOhours;1.pid} = 1 then total = total + {#RTotal0} ....All I get back is True or False. Am I doing this wrong?? Can anyone give some insight? Thanks!
May 20, 2005 #2 kskid Technical User Mar 21, 2003 1,767 US Missing the colon in total = total + {#RTotal0} Code: numbervar total; if {spTMWOhours;1.pid} = 1 then total := total + {#RTotal0} -lw Upvote 0 Downvote
Missing the colon in total = total + {#RTotal0} Code: numbervar total; if {spTMWOhours;1.pid} = 1 then total := total + {#RTotal0} -lw