Hi there,
Just can't get a handle on this at all I have taken over support of a program that evaluates some quite hefy strings using IF(b,t,f) structure and I can't seem to get them to evaluate correctly at all. For instance;
=if ("VS" = "AG", "ans_1", if ("VS" = "PCD", "ans_2", if ("VS" = "CB", "ans_3", if ("VS" = "CB2", "ans_4", if ("VS" = "CB3", "ans_5", "unknown"))))
any ideas what is wrong with this string when I try and verify in the filter window of a datawindow it gives me various messages including 'Expecting string expression' and 'Expression does not evaluate'. Can anyoneidentify how to evaluate these things or point out the flaw in this paticular structure. Many thanks for your help.
Mully
Just can't get a handle on this at all I have taken over support of a program that evaluates some quite hefy strings using IF(b,t,f) structure and I can't seem to get them to evaluate correctly at all. For instance;
=if ("VS" = "AG", "ans_1", if ("VS" = "PCD", "ans_2", if ("VS" = "CB", "ans_3", if ("VS" = "CB2", "ans_4", if ("VS" = "CB3", "ans_5", "unknown"))))
any ideas what is wrong with this string when I try and verify in the filter window of a datawindow it gives me various messages including 'Expecting string expression' and 'Expression does not evaluate'. Can anyoneidentify how to evaluate these things or point out the flaw in this paticular structure. Many thanks for your help.
Mully