Hello all,
I'm unable to solve this problem. I'm running a query on some pipelines to which i'm setting a Alter Properties to change the layer based on Object Data. I want to incorporate a IF statement so that if ("company name" = SHELL) call the layer SHELL - SUBSTANCE else call the layer PIPELINE - SUBSTANCE.
I tried these plus numerous others. Any suggestions, Thanks so much!
(if(:comp_name@pipeline_pl_joined="SHELL") (STRCAT :comp_name@pipeline_pl_joined "-" :sub_1@pipeline_pl_joined) (STRCAT "PIPELINE - " :sub_1@pipeline_pl_joined))
(if(:comp_name@pipeline_pl_joined=SHELL) (STRCAT :comp_name@pipeline_pl_joined "-" :sub_1@pipeline_pl_joined) (STRCAT "PIPELINE - " :sub_1@pipeline_pl_joined))
Daniel Martin.