Question
getting started with cfc's - how do i pass a variable in?
hi - i'm trying to write my first cfc. i want it to get some
data from the database but cant seem to get it to accept a variable
that exists in the page i'm calling the cfc from (although oddly it
seems to be able to make use of form variables that exists in that
page - i can give more info on that weirdness if you want it)
i have this: (code attached)
but get this error:
"Element LOCATIONID is undefined in FORCFC."
what's that all about - i just set it on the line before i invoked the cfc - didn't i?
thanks in advance
i have this: (code attached)
but get this error:
"Element LOCATIONID is undefined in FORCFC."
what's that all about - i just set it on the line before i invoked the cfc - didn't i?
thanks in advance
