Hi,

Well it's another Query problem for Will today - the error message is
telling me it can't find expiry_date field - in Access I've set the
date/time format to a custom dd-mmm-yy - is this the problem?  Here's the
code:

<Cfset today = #DateFormat(Now())#>

<cfquery name="adverts" datasource=#ds#>
 SELECT id FROM advert_details
 WHERE expiry_date = #today#
</cfquery>

ODBC Error Code = 07001 (Wrong number of parameters)


[Microsoft][ODBC Microsoft Access Driver] Too few parameters. Expected 1.



Any ideas?

Thanks, again all.



Will


------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to