PDA

View Full Version : Family - IF Statement



rsharma01
2009-11-11, 10:08 AM
Somebody please advice on the issue below:

E.g A cupboard has a parameter “LOCK” which can be set to true or false, if we set that to false, the cupboard shows up as “U5114” in bill of quantities, if we set it to true, it shows up as “U5114” and “LOCK1”.

Munkholm
2009-11-11, 10:37 AM
Welcome to the Forums !

You could use this for LOCK1 parameter (ausming it´s a yes/no parameter)

LOCK1 = not(LOCK)

If you want to get the U5114 etc. into a schedule, you need to create a Shared Parameter - You could name it anything, but in this example, it´s called RETURN

RETURN = if(LOCK, "U5114", "U5114 LOCK1")

Actually, just grab the attached, and play along with it... :beer: