Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I have set this variable:
Set ve_PHT = SUM({$<PHT = {'HT', 'DP'}>} #RecFar);
Now I want to make the count independently from the value that takes PHT. Because today it takes only two variables, but maybe in my next updates it can take other values. So I need to make it dynamically.
I try these by they didn't work:
Set ve_PHT = SUM({$<PHT={"$(=LEN(PHT)>0)"}>} #RecFar);
Set ve_PHT = SUM({$<PHT={'*'}>} #RecFar);
Any suggestions on how can it be done?
Use LET instead of SET and double quote. This is like PHT Is Not NULL.
Let ve_PHT = SUM({$<PHT={"*"}>} #RecFar);
Use LET instead of SET and double quote. This is like PHT Is Not NULL.
Let ve_PHT = SUM({$<PHT={"*"}>} #RecFar);