I wanted to create an IF statement by concat'ing many rows in a Table. See attached qvd
Field [Validation_Compare_String] is the If statement
Field [Validation_Reference] is the result
I've almost got this to work but I need to close the Statement with the required number of closing brackets i.e. )))))))
IFSTATEMENT:
NoConcatenate
Replace LOAD
concat('If('&Validation_Compare_String&','&Validation_Reference&',') &')' As [Validation_If_Statement]
Resident VALIDATIONRULES;
STORE IFSTATEMENT into IFSTATEMENT.qvd (qvd);
Any ideas how to do this?
Can we change the way of this question, I checked the formula and it's like has so many ifs which makes it impossible to debug. Can we split the IFs? thanks!