Hi folks.
I'm hoping someone can cast a quick eye over this fragment and tell me if they can see anything wrong with it.
It is part of a conditional check I have within and INSERT statement.
The argument 'saveDetails.cat_id' has been correctly passed in and the function getIdByCode has also been correctly passed in. The attributes for the function, match, table and column are also being used here correctly (i think)
According the data in the DB this section should return 'true' but I am getting an error on all three function attributes saying they are not valid.
Any help would be much appreciated.
CODE
<cfif arguments.saveDetails.cat_id eq #getIdByCode(match = 'C+1', table = 'cen_categories', column = 'code')#>
p.s. If you need to see more code leave a message and i wlkl post more on monday when i am back at work