macromedia.coldfusion.database_access
[Top] [All Lists]

Re: Pre-populate select box causing query error

Subject: Re: Pre-populate select box causing query error
From: "Elfboy007" <webforumsuser@xxxxxxxxxxxxxx>
Date: Thu, 22 May 2008 20:45:14 +0000 (UTC)
Newsgroups: macromedia.coldfusion.database_access

Do you mean use <CFOUTPUT query=
 instead of <CFQUERY
 for the query on the target page?

 I'm asking because on the 1st (form) page I already have have a CFOUTPUT:

 <select name="siteid"  size="15">
                  <CFOUTPUT query="xxxxxx">
                  <option value="#SITEID#"#Iif(SITEID EQ sid, DE 
('selected="selected"'), 
DE(''))#>#SITEID# (#name#)</option>
                        </CFOUTPUT>
                  </select> 



<Prev in Thread] Current Thread [Next in Thread>