That's a very elegant function. Good post Al.

<!----------------//------
andy matthews
web developer
certified advanced coldfusion programmer
ICGLink, Inc.
[EMAIL PROTECTED]
615.370.1530 x737
--------------//--------->

-----Original Message-----
From: Everett, Al (NIH/NIGMS) [C] [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 04, 2006 11:01 AM
To: CF-Talk
Subject: RE: pass query row as argument to a function


QueryRowToStruct

http://cflib.org/udf.cfm?id=358



-----Original Message-----
From: kurt schroeder [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 04, 2006 11:59 AM
To: CF-Talk
Subject: Re: pass query row as argument to a function

Thanks for replying,
That can work. Is there a function to convert or copy a row to a struct?
If i remember right CF handles record sets, and all else, as structures
so a structcopy(query[currentrow]) like function is possible, know of
one?
thanks
kes

>You could probably convert the row into a structure, then pass that as
>an argument.
>
><!----------------//------
>andy matthews
>web developer
>certified advanced coldfusion programmer ICGLink, Inc.
>[EMAIL PROTECTED]
>615.370.1530 x737
>--------------//--------->
>
>-----Original Message-----
>From: kurt schroeder [mailto:[EMAIL PROTECTED]
>Sent: Thursday, May 04, 2006 10:36 AM
>To: CF-Talk
>Subject: pass query row as argument to a function
>
>
>Can a row of a query be passed as an argument in CFMX7. I know i can
>pass in the query and the currentrow, but it would be cleaner if i
>could just passin the row only.
>
>Thanks
>KES





~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:239519
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to