Insert Error
Hi
This code works in CF5, but delivers this error in CF8:
Error Executing Database Query.[Macromedia][SQLServer JDBC Driver][SQLServer]Cannot insert the value NULL into column 'last_modified', table 'edebt_international_com.dbo.DEBTORS'; column does not allow nulls
Here is the code:
<CFSET Form.last_modified=CreateODBCDateTime(ParseDateTime(now()))>
<cfcatch type="Any">
<script language="Javascript">
alert('You have entered an incorrect date, please check your data.')
history.back()
</script>
<cfabort>
</cfcatch>
Any help would be appreciated.
Also If I change ODBC to JDBC, I get the next line 'you have entered an incorrect date...'
I am looking to enter todays date.
Thanks ![]()
