Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.
-
Zonzy #1
how can i input a query to a function in a component
Hey All,
i wanna input a query to a component, but everytime i do this it gives an
error " u can not convert complex values to simple ones".
i tried Ben forta's solution in advanced techniques , by making the function
acces = Remote using the follwoing
<cfinvoke method="DoSomething" returnvariable = "outputdata"
arguementcollection = "inputstruct" ......>.
The problem is i could not understand how to insert the query as an input in
the previous syntax , & what is the point of argumentcollection , & should i
add inputstruct= "#myquery#" to the previous piece of code?
i would appreciate ur help alot
Zonzy
Zonzy Guest
-
#39143 [NEW]: prepared statement with input parameters and db function fails
From: aspen dot olmsted at alliance dot biz Operating system: Windows XP SP2 PHP version: 5CVS-2006-10-13 (snap) PHP Bug Type: ... -
cfmail query using form for input of message
There must be a way to do this--to search for a group who is to receive the email, let a user create a form message, and send to all those users.... -
Component function returntype as component name.
How does the returntype as a component effect the function and the actual return? Is this the same as extending another component? Can someone... -
function for capturing form input won't return anything
I've this function, which is the method of a class. I'm posting the constructor of the class down below. For some reason, when I fill out a form... -
BCP query out executed by xp_cmdshell works fine from query analyzer but fails from VB Component
Hi all, I have a stored procedure which returns a vast number of record and i have to write the output into a csv file. I'm using BCP utility to... -
Zonzy #2
how can i input a query to a function in a component
Hey All,
i wanna input a query to a component, but everytime i do this it gives an
error " u can not convert complex values to simple ones".
i tried Ben forta's solution in advanced techniques , by making the function
acces = Remote using the follwoing
<cfinvoke method="DoSomething" returnvariable = "outputdata"
arguementcollection = "inputstruct" ......>.
The problem is i could not understand how to insert the query as an input in
the previous syntax , & what is the point of argumentcollection , & should i
add inputstruct= "#myquery#" to the previous piece of code?
i would appreciate ur help alot
Zonzy
Zonzy Guest
-
Stressed_Simon #3
Re: how can i input a query to a function in a component
Argument collection is a short hand way to pass a structure containing all the
arguments for a function.
Imagine you have a functon that wants 3 arguments Fname, Lname and Location.
If you create a structure that contains those EXACT variables you can then
pass the structure instead of the indivdual arguments.
Stressed_Simon Guest



Reply With Quote

