Calculated Field Formula IIF

Meeting place for R&R customers and clients to share tips and ideas. Post your questions, messages or problems here.
Post Reply
jtenbrook
Posts: 7
Joined: Tue Oct 10, 2017 12:44 pm

Calculated Field Formula IIF

Post by jtenbrook » Fri Mar 13, 2009 6:02 pm

I am trying to create a calculated field that will return the result of another Calculated field,R_Split, if the conditions are met, if they are not met then it would be blank. I can get it to work in all ways but the R_Split portion.______IIF(UNIT= ^R4*****^ OR UNIT =^R3*****^ OR UNIT= ^R2*****^ OR UNIT=^R0L**^, R_Split, ^ ^)

kfleming
Posts: 5795
Joined: Tue Oct 10, 2017 12:44 pm

=> RE: Calculated Field Formula IIF

Post by kfleming » Tue Mar 17, 2009 8:04 am

Are the * characters literal values in the UNIT field?____Kathleen__R&R Support

jtenbrook
Posts: 7
Joined: Tue Oct 10, 2017 12:44 pm

==> RE: Calculated Field Formula IIF

Post by jtenbrook » Tue Mar 17, 2009 11:21 am

Unit Field ^R3****^ represent the actual unit types.

kfleming
Posts: 5795
Joined: Tue Oct 10, 2017 12:44 pm

===> RE: Calculated Field Formula IIF

Post by kfleming » Fri Mar 20, 2009 10:24 am

Try:____IIF(^R4*****^$UNIT OR ^R3*****^$UNIT OR ^R2*****^$UNIT OR ^R0L**^$UNIT, R_Split, ^ ^)______Kathleen__R&R Support

jtenbrook
Posts: 7
Joined: Tue Oct 10, 2017 12:44 pm

====> RE: Calculated Field Formula IIF

Post by jtenbrook » Sun Mar 22, 2009 12:59 pm

nope, invalid argument.

kfleming
Posts: 5795
Joined: Tue Oct 10, 2017 12:44 pm

=====> RE: Calculated Field Formula IIF

Post by kfleming » Mon Mar 23, 2009 8:35 am

Is R_Split a numeric field?__If it is, use 0 rather than ^ ^ as the false argument.____Kathleen__R&R Support

jtenbrook
Posts: 7
Joined: Tue Oct 10, 2017 12:44 pm

======> RE: Calculated Field Formula IIF

Post by jtenbrook » Mon Mar 23, 2009 4:42 pm

Arrggg. That is so simple, that worked thanks so much.

Post Reply