I have a CFC with the following query in cfcomponent.
<cffunction name="getMarket" access="remote"
<cfquery name="qmarket" datasource="test" >
DISTINCT tbl_orders.market as marketname
where trading_date = 'I dont know how to display the date
On my flex application window I have a DateField control
named 'date_control',which displays a date which is found in
tbl_orders. For your info, tbl_orders has the following fields
(market, trade_date etc). How do I put in my query (in my cfc), the
trading_date='date_control' in the 'WHERE' statement.
Should you have further queries, or any doubts please let me
I'm not familiar with the CF side, but you need to pass the
selectedDate property of the Flex DateField to the cffunction and
the cffunction needs to have a <cfargument> tag. You'll have
to look up the syntax for that in the CF manuals.