>>>>m.typefilt = "INLIST(a09macct.typegroup, 'CASH', 'BANK')"
and my old way of parameter passing works>>>>m.typefilt = "typgrp(a09macct.typegroup, 'CASH', 'BANK')"
and FPD25 generates an error on the SET FILTER TO &zfilter. line in my INVHLP function:Function typgrp parameters m.z1, m.z2, m.z3 return inlist(m.z1, m.z2, m.z3)the para m.zfilter with the value "typgrp(a09macct.typegroup, 'CASH', 'BANK')" is now, I guess, interpreted as an array, where as when the m.zfilter was "INLIST(a09macct.typegroup, 'CASH', 'BANK')" FP knew it was a function. So if I send &typefilt. then the current value is interpreted and sent to invhelp() and invhelp won't like it at the IF line before SET FILTER. Plus the value passed is for the current record only and the utiliy won't remain.
invhelp(paras, ..., typefilt)>>This one in my function invhelp():
>>IF m.zfilter # "NOCHANGE">>becuase now it is receiving a logical value and in the previous form (they are both similar one for creditors and this one for debtors) it was the string for the filter macro substitution
>>>>>m.typefilt = "INLIST(a09macct.typegroup, "CASH", "BANK") >>>>>m.typefilt = "typgrp(a09macct.typegroup, "CASH", "BANK") >>>>>What's your actual code?