<cfquery name="qGetReportData" datasource="#Application.fw.Config.DSN#">
SELECT * FROM View_Alumni
WHERE studentcode IS NOT NULL
<cfif #url.Course# NEQ ''>
AND course_code = '#url.Course#'
</cfif>
<cfif #url.Yr_study# NEQ ''>
AND YEAR(yearstudy) = '#url.Yr_study#'
</cfif>
<cfif #url.RegDate# NEQ ''>
AND #DateFormat(createdate,'dd / mmm / yyyy')# EQ #DateFormat(url.RegDate,'dd / mmm / yyyy')#<!---HERE THE PROB--->
</cfif>
ORDER BY student_name, studentcode
</cfquery>
The database column date format as the attachment "createdate_column.jpg",
the form design figure as attachment "Searching_Form.JPG",
and the error come out as the attachment named "Error.jpg".
What should I do to make the database "createdate" column same as the searching form date format?

New Topic/Question
Reply



MultiQuote




|