Reputation: 187
Inside of Adobe Flash Builder, I am trying to bind data to a comboBox
. Here is my scenario:
ColdFusion
which connects to a MySQL
database.NameService
.NameService
I have the following data types under Tbl_names
(the name of the table in my MySQL
database) admin:String
, dept:String
, ID:Number
, manager:String
, name:String
, pin:String
, and store:String
.With all of this being said, I have a comboBox
with the ID of nameBox
. I want to have nameBox
only show the names of people who's store:String
is equal to "Toyota". I can't figure this out for the life of me. How do I do that?
Upvotes: 0
Views: 93
Reputation: 10469
Sounds like you need to set the CFQUERY to limit your selection:
http://www.quackit.com/coldfusion/tutorial/coldfusion_database_queries.cfm
Upvotes: 1