I am new to posting on this site and really do appreciate all the comments and
answers people provide.
My programmer took another job a while back and have had to pick up and learn
CF.
I am getting an error on page load as follows.
Error invoking CFC/CMIS/MCT/MCTSR.cfc The Deptcode argument passed to the CLIST
function is not of type numeric
I have two cfselects and I am using the bind.
So a user selects a department from one and the other cfselect populates with
subcode departmets for selecting.
The following are my cfselects:
<td>
<cfselect name="SR_Deptid" size="8" required="yes" style="width:200px;"
bind="CFC:MCTSR.dlist2()" display="Department" value="id"
bindonload="true">
</cfselect>
</td>
<td>
<cfselect name="SR_ServCode" size="8" style="width:200px;"
Bind="CFC:MCTSR.clist({SR_Deptid})" display="Description1" value="id">
</cfselect>
</td>
It appears that on load the second cfselect is trying to execute but does not
have a value and throughs the error as listed above.
Is there something I am obviously missing that needs to happen on page load?
Once error message goes away it works fine.
Thanks for any help or comments.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f
Archive:
http://www.houseoffusion.com/groups/cf-newbie/message.cfm/messageid:4193
Subscription: http://www.houseoffusion.com/groups/cf-newbie/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15