Hello. I need to have dynamically assigned field list (fl) depending on the existence of a field in the response. I need to do something like
fl=if(exists(field0),field0 field1,field2 field3)) The problem is that the "if" function does not like the space. I have tried many combinations like double or quotes around the field list: fl=if(exists(field0),'field0 field1','field2 field3')) or fl=if(exists(field0),"field0,field1","field2,field3")) or parenthesis etc. Any help would be very appreciated. Thanks. Arcadius.