Create a list from your query and pass it to the custom tag: <cfset lMyList = Valuelist(qMyQuery.myColumn)> <cf_crossselect valuesleft="#lMyList#" ...>
Pascal -----Original Message----- From: Mark Leder [mailto:[EMAIL PROTECTED]] Sent: donderdag 1 november 2001 15:15 To: CF-Talk Subject: RE: Cross Selects Yes, I have placed the Select box/multiple code within the custom tag, which I can't get to work. The custom tag only seems to allow comma delimited hard code text. Mark -----Original Message----- From: Yanton [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 01, 2001 9:00 AM To: CF-Talk Subject: Re: Cross Selects don't use textarea but used select box multiple you can display all you recordset in option yanton ----- Original Message ----- From: "Mark Leder" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Thursday, 01 November, 2001 8:40 PM Subject: Cross Selects > Anyone have any experience with custom tags known as "Cross Selects"? This > is used in a form and provides two "textarea" boxes. Values in the left box > can be selectively "moved" to the box on the right. My problem, getting the > box on the left to be populated from a query (and behaving like a scrolling > list), instead of hard coding values in the tag. I've tried loops, outputs, > etc. with no effect (I only am able to display the first record of a > multiple record query). > > Any ideas on how to do this dynamically? > > Thanks, > Mark > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists