i still wrap date/time values in createODBCDate() functions inside of <cfqueryparam> tags. probably overkill, but old habits and all... :)
On Mon, 20 Dec 2004 16:11:47 +0100, Pascal Peters <[EMAIL PROTECTED]> wrote: > Or even better, use cfqueryparam > > > -----Original Message----- > > From: Charlie Griefer [mailto:[EMAIL PROTECTED] > > Sent: 20 December 2004 15:09 > > To: CF-Talk > > Subject: Re: updating my date_added from a form fails > > > > try wrapping Form.date_added in a createODBCDateTime() function (or > > just a createODBCDate() if you don't need time). > > > > > > On Mon, 20 Dec 2004 09:03:27 -0500, Daniel Kessler <[EMAIL PROTECTED]> > > wrote: > > > I have an Oracle database with a record where when I update it with > > > now() it works. From that point on, for editing, I carry the > > > date_added through a hidden form field which has the source of > <INPUT > > > TYPE='Hidden' NAME='date_added' VALUE='2004-12-20 08:50:51.0'> > > > > > > When I try and use that hidden form field with the date to update > the > > > record, I get the following error: > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:188251 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54