Hello,
I have following relation in start asm template:
/*CONTROLLING CALIPERS RAL2004
if NAME=="CONTROLLING CALIPER"
RAL="2004"
endif
then I have a parameter CUSTOMER
i would like to add another reralion(s) like this:
if CUSTOMER is "JD" and NAME != "CONTROLLING CALIPER"
RAL="5018"
if CUSTOMER is "VL" and NAME != "CONTROLLING CALIPER"
RAL="5008"
else
RAL="5012"
can anybody help to make it work?
Thanx in advance
T.
Solved! Go to Solution.
Tomas,
simply replace your relation with my. It must work correctly.
if NAME=="CONTROLLING CALIPER"
/* NAME is equal to "CONTROLLING CALIPER"
RAL="2004"
else
/* NAME is not equal to "CONTROLLING CALIPER"
if CUSTOMER=="JD"
RAL="5018"
else
if CUSTOMER=="VL"
RAL="5008"
else
RAL="5012"
endif
endif
endif
MH
Hi,
use following relations:
if NAME=="CONTROLLING CALIPER"
RAL="2004"
else
if CUSTOMER=="JD"
RAL="5018"
else
if CUSTOMER=="VL"
RAL="5008"
else
RAL="5012"
endif
endif
endif
MH
Hi Martin,
Thanks for your quick answer.
There is a problem with CONTROLLING CALIPER - if the parameter NAME is CONTROLLING CALIPER the RAL must be 2004 no matter which the CUSTOMER is.
T.
Tomas,
simply replace your relation with my. It must work correctly.
if NAME=="CONTROLLING CALIPER"
/* NAME is equal to "CONTROLLING CALIPER"
RAL="2004"
else
/* NAME is not equal to "CONTROLLING CALIPER"
if CUSTOMER=="JD"
RAL="5018"
else
if CUSTOMER=="VL"
RAL="5008"
else
RAL="5012"
endif
endif
endif
MH
IT WORKS...
THANKS A LOT