Have you tried outputting the query as a string and running in the query
analyzer? That helps me out a lot...plus it lets you see exactly what's
going into the query.

<!----------------//------
andy matthews
web developer
ICGLink, Inc.
[EMAIL PROTECTED]
615.370.1530 x737
--------------//--------->

-----Original Message-----
From: Benjamin Paige [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 07, 2005 7:24 AM
To: CF-Talk
Subject: Re: Access Error? CF7


Action
>Anyone see a problem with this query?
>
>insert into accesslog
>( memberid, actiondate, action, type )
>values
>(  <cfqueryparam cfsqltype="CF_SQL_INTEGER" value="#qValidateLogin.ID#">,
> '#REQUEST.dtStamp#',
> 'Login',
> 'User Login'
>)
>
>
>The memberid does exists as well as request.dtstamp
>
>This is the error I get in CFMX 7:
>
>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 :   '#REQUEST.dtStamp#',
>
>82 :   'Login',
>
>83 :   'User Login'
>  _____
>
>
>SQL       INSERT INTO AccessLog ( MEMBERID, ACTIONDATE, ACTION, TYPE )
>VALUES ( (param 1) , '11/25/2005 2:00:59 PM', 'Login', 'User Login' )



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:226408
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

Reply via email to