Ask a Question related to Coldfusion Database Access, Design and Development.
-
mkauspe #1
display query in selection
I want to create a drop down, or selection list with a query from a db. Can
anyone give a hint or explain how to do this? I tried cfselect but can't get
the data to display.
The value of the attribute Query, which is currently "qwe", is invalid.
Here's the code, <cfselect query="#display_all.make#" name="selection"
visible="yes"></cfselect>
It actually reads the data from the db, but will not display it. I tried
mutiple columns. Thanks!!
yes I an a n00b :)
mkauspe Guest
-
HELP! Display query results horizontally
with CFquery, the data is display in the table vertically, is there any way I could display it horizontally? example: #firstname# #firstname#... -
Selection change query
Hi, I have problems that passing a JavaScript variable back to CF in a JavaScript item change event. For example, a user selects a state in one... -
Using selection list in search query
Is there something new in CFMX 6.1 that causes the following statement to not work correctly? I get an error when trying to load the page. I'd... -
tabular query display
Wondering if anyone is aware of php source out there that takes an SQL Query, displays the results in tabular fashion (i.e. there is likely more... -
display text field based on the selection choices
I want to display credit card fields when the user selects the option paid membership. If user selects the option free membership, then the credit... -
mkauspe #2
Re: display query in selection
I figured it out
<cfselect name="delete">
<option value="Select an item"</option>
<cfoutput query="display_all">
<option value="#model#">#model#</option>
</cfoutput>
</cfselect>
mkauspe Guest
-
The ScareCrow #3
Re: display query in selection
An easier way
<cfselect name="delete" query="display_all" queryposition="below" value="model" display="model">
<option value="Select an item"</option>
</cfselect>
Ken
The ScareCrow Guest



Reply With Quote

