Nope...
Error Executing Database Query.
Syntax error in INSERT INTO statement.
The error occurred in E:\webs\mydomain.com\wwwroot\admin\actLogin.cfm: line
81
79 : (
80 : <CFQUERYPARAM CFSQLTYPE="CF_SQL_INTEGER"
VALUE="#qValidateLogin.ID#">,
81 : '#createODBCDateTime(REQUEST.dtStamp)#',
82 : 'Login',
83 : 'User Login'
SQL INSERT INTO AccessLog ( MEMBERID, ACTIONDATE, ACTION, TYPE )
VALUES ( (param 1) , '{ts '2005-11-25 14:44:00'}', 'Login', 'User Login' )
-------------
I tried the createODBCDateTime with and without the single quotes.
The code use to work on CF5 but now bombs out with CF7
-----Original Message-----
From: Claude Schneegans [mailto:[EMAIL PROTECTED]
Sent: Friday, November 25, 2005 5:39 PM
To: CF-Talk
Subject: Re: Access Error? CF7
'#REQUEST.dtStamp#'
You should convert your date to an ODBCdate, see createODBCDateTime()
function.
--
_______________________________________
REUSE CODE! Use custom tags;
See http://www.contentbox.com/claude/customtags/tagstore.cfm
(Please send any spam to this address: [EMAIL PROTECTED]) Thanks.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking
application. Start tracking and documenting hours spent on a project or with a
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225281
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=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54