Select List: in edit mode, multiple selections - Stumped!

2010-05-11 Thread Dan Sullivan
I'm in edit mode in my form, passing and URL.id value which is a product id. I'm trying to get the atribId values: 17, 19, 22, 61, 74 to populate my multiple select box as selected, but it's only working for the first value 17. CFQUERY name=sizes datasource=#datasource# select name, id from

Re: Select List: in edit mode, multiple selections - Stumped!

2010-05-11 Thread Dan Sullivan
It worked! Thank you. This is like outputting url_sizes.attributeId outside a cfoutput tag, it only gets the first item. You need to set the attributeId column into a list: cfset myAttribList = ValueList(url_sizes.attributeId) On Tue, May 11, 2010 at 12:04 PM, Dan Sullivan coldfusiondevelope

cf_filter_duplicate_emails_from_query

2001-10-24 Thread Dan Sullivan
hi, I am querying more than one table that all contain email addresses. I am merging all of these e-mail addresses into a CFMAIL email blast of all the email addresses. I need advice on how to make sure there aren't duplicate e-mail addresses after all the e-mails are merged and the email is

CFMAIL inserting e-mail addresses, CFIF isdefined ...

2001-09-04 Thread Dan Sullivan
I'm trying to pass e-mail addresses into my cfmail tag if a variable is defined. Here's a dummy sample, that I can't get to work. CFSET email = fun CFmail to=CFIF ISDEFINED (email)[EMAIL PROTECTED]/CFIF from= sullivan mailto:[EMAIL PROTECTED] @hittite.com subject=Test test /CFMAIL

CF_NESTED_QUERIES_HELP

2000-12-29 Thread Dan Sullivan
All, I'm trying to get the correct syntax for a nested query but I keep getting ODBC errors. Below are the two select statements that I am trying to combine together. Any hints would be appreciated. This code below obviously doesn't work, but the sub select statements work. SELECT * FROM

CF_COLLECTION_PATH_ QUESTION

2000-12-04 Thread Dan Sullivan
Hello, I am doing some work for a company that has their site hosted at an ISP on an NT machine. I am trying to get a search engine working for them and I'm having troubles with the path to create and index a collection. The ISP has given me, the host.domain.net\username\webroot path to my

CF_INITIALIZE_SUBMIT_BUTTON_LOOP

2000-06-17 Thread Dan Sullivan
All, I need some ideas/code to initialize the SUBMIT button the end of the loop, in a form, that I will be looping over and repeatedly passing data from a CFQUERY. I want to loop through many records of data and insert the data as values in a form. It will be one form, that I'll pass one

AutoInstall through Cold Fusion, then it runs virus detection

2000-05-30 Thread Dan Sullivan
Hello, I recently experienced an auto-install from a Web site selling anti-virus software. After the auto-install it fired-up an dialog box that showed me my hard drive and then when I was able to initiate the anit-virus scanning function. This was all done from an .ASP page. I'm assuming