Forum Discussion
Lucian
5 years agoResponsive Resident
How to pass column name as parameter into a function
Hello, I need some help understanding how to pass a column name as parameter into a custom function. I have a table (Accounts) from which I need a specific column (No) using a function that will...
- 5 years ago
After some more digging, I find the answer => Record.Field(_,srcColumn).
So, changing the following line from:
fx(strStartWith, srcColumn) and fx(srcColumn, strEndWith)to
fx(strStartWith, Record.Field(_,srcColumn)) and fx(Record.Field(_,srcColumn), strEndWith)Will make the code work.
Kind Regards,
Lucian
Lucian
5 years agoResponsive Resident
After some more digging, I find the answer => Record.Field(_,srcColumn).
So, changing the following line from:
fx(strStartWith, srcColumn) and fx(srcColumn, strEndWith)
to
fx(strStartWith, Record.Field(_,srcColumn)) and fx(Record.Field(_,srcColumn), strEndWith)
Will make the code work.
Kind Regards,
Lucian
Anonymous
2 years agoNot applicable
Thanks, this solved a problem for me 🙂