Hi Steve,
The try catch is _not_ required.

All you need is the line:
<cfparam name="FORM.user_type_id" type="numeric" default="0" />

If FORM.user_type_id does not exist, cfparam will take care of it.
That's it.

Later,
Niall.


-----Original Message-----
From: Steve LaBadie [mailto:[EMAIL PROTECTED] 
Sent: 17 September 2008 14:12
To: CF-Talk
Subject: RE: Problem Passing Data

Would this work?

<cfparam name="FORM.wrkshp" type="string" default="" />
<cftry>
<cfparam name="FORM.user_type_id" type="numeric" default="0" />
<cfcatch>
<cfset FORM.user_type_id = 0 />
</cfcatch>
</cftry>

Steve LaBadie, Web Manger
East Stroudsburg University
200 Prospect St.
East Stroudsburg, Pa 18301
570-422-3999
http://www.esu.edu
[EMAIL PROTECTED]




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312662
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to