I am modifying a report that uses a formula for a grouping and would appreciate any advise/explanation that anyone might offer. The formula is:
REPLACE(TRIM(REPLACE({tbl.prog_val},{tbl.prog_code},'')),'/','-')
I am new to the REPLACE function, but I believe that I follow its functionality in syntax, however I'm confused about the 2nd field name listed above. I read the above to be intended to be two nested REPLACE functions to remove spaces and the / and - characters, and I assume it would apply only to the first field listed. Can you apply a REPLACE to two fields in this manner?
REPLACE(TRIM(REPLACE({tbl.prog_val},{tbl.prog_code},'')),'/','-')
I am new to the REPLACE function, but I believe that I follow its functionality in syntax, however I'm confused about the 2nd field name listed above. I read the above to be intended to be two nested REPLACE functions to remove spaces and the / and - characters, and I assume it would apply only to the first field listed. Can you apply a REPLACE to two fields in this manner?