check your quotes 90% of the time thats the problem. Values(a string,'my string',7) will give that error
So will Values('It's just a string', 'sting', sting') and my favorite (7,7,'string','string') the last one will happen if you have a variable defined twice in a form or URL. So say a variable like webpage_id =7 is in the url 2 times the value would be 7,7.
Main Topics
Browse All Topics





by: Jester_48Posted on 2004-01-12 at 02:36:08ID: 10094396
the error is usually the result of missing paramaters, the sql is teeling you that it was trying to execute but was unable to ass there are missing pieces of information
when the error is posted to teh page you should see
error occored while trying to process <cfquey> on line XXX
look at that query, it is ptobably an insert that has not received the variables or a select with a where that the variable are not defined properly or are null
please post some code