On Jan 23, 2008 9:36 AM, Nick Ross <[EMAIL PROTECTED]> wrote:
> 01.22.08 9:44 AM
>
> THANKS EVERYONE. YES, I FOUND THE SINGLE QUOTE BUT IT MADE NOT DIFFERENCE. 
> NOW I AM GETTING THIS ERROR MESSAGE:
>
>  Error Executing Database Query.
> [Macromedia][SequeLink JDBC Driver][ODBC Socket][Microsoft][ODBC Microsoft 
> Access Driver] Too few parameters. Expected 1.
> 17 :    SELECT *
> 18 :     FROM Users
> 19 :     WHERE UserLogin = '#Form.UserLogin#' AND Password = '#Form.Password#'
> 20 : </cfquery>
> 21 :

i believe 'password' is a reserved word in Access.  either change the
column name (maybe userPassword?) or enclose it in square brackets:
WHERE... [Password] = '#form.password#'

oh, and cfqueryparam is your friend (or should be) :)


-- 
"Scientists tell us that the fastest animal on earth, with a top speed
of 120 feet per second, is a cow that has been dropped out of a
helicopter." - Dave Barry

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

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:297178
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