Question
Empty String Error while using CFQUERYPARAM
I continue to receive an Empty String error while trying to update a date type field (SQL Server).
I'm using the NULL attribute, but that doesn't change anything when I pass an empty date field in my form.
Any ideas how to handle this?
SET [eyeExamDate] = <cfqueryparam value= "#createdate(year(formdata.examMonth), month(formdata.examMonth), 01)#" cfsqltype="cf_sql_date" null="Yes" />The function works fine with a date, but with none I have no luck.
I've tried using a cfparam in case there is no date passed, but that doesn't work.
