My problem is that I paramed them all but I get an error on the insert



>I'm not real sure if this is what your asking, but here's a quick try at
>an answer...
>
>***Form Page***
>
><form name="testForm" method="Post">
><input type="text" name="foo">
><input type="submit" value="Submit">
></form>
>
>***Processing Page***
>
><cfparam name="form.foo" default="0">
>This will create form.foo ONLY if it does not exists.
>If it does exists, the value of "foo" will be what was submitted 
>from the original form page, EVEN if it is null.
>
>To change the value, use 
><cfif form.foo eq "">
><cfset form.foo = 0>
></cfif>
>
>However it may be easier to change it in the SQL with
>
>(guessing MSSQL Server?)
>
>Insert into 
>...
>IsNull(#form.foo#,0),
>...
>
><cfoutput>
>#form.foo#
></cfoutput>
>
>-----Original Message-----
>From: Torrent Girl [mailto:[EMAIL PROTECTED] 
>Sent: Friday, June 24, 2005 2:22 PM
>To: CF-Newbie
>Subject: Re: Need help - deadline 5pm
>
>
>Yes, did that and it still doesn't work
>
>Get an error

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:15:1221
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/15
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:15
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to