Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 11-05-2002, 12:18 PM   #1
underlord
Registered User
 
Join Date: Sep 2002
Location: South Bend, IN
Posts: 9
Send a message via Yahoo to underlord
Default Help with cfc

Can someone tell me what I am missing. Ive finaly got the function to work but it is returning the first record in the table insted of the one I am selecting from the dropdown. Here is the AS function and the cfc function.

Thanks,
Brian

function getlotDetails() {
// Invoked when a user selects a name from the ComboBox
trace("sent request. name: "+cb_status.getSelectedItem());
// invoke the "getlotdetails" method in the GraveService service, send current selection
GraveService.getlotDetails(cb_status.getSelectedIt em());
trace("connect to service")
}


<!---cfc Retrieve list of lot details--->
<cffunction name="getlotdetails" access="remote" returnType="query">

<cfquery name="q_lotdetails" datasource="kincaid">
select * from tblLotStatus
Where name="name"
</cfquery>

<cfreturn q_lotdetails>

</cffunction>
underlord is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:15 AM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.