J
Joey
Hi All,
I'm having problems updating a date/time field for a record on a table
on a SQL Server via an SQL Passthrough statement. I set my statement to
this
strSQL = "UPDATE tbl SET dtm_updated = #" & Now & "# WHERE int_tbl_id =
12345;"
And I get an ODBC Call Failed Error.
It works if I set the dtm_update = NULL so I'm wondering if there is
some date/time conversion issue with Access97 and SQL Server. How and
what format do I need to convert the date/time so that I can update the
SQL Server table?
Thanks,
Joey.
I'm having problems updating a date/time field for a record on a table
on a SQL Server via an SQL Passthrough statement. I set my statement to
this
strSQL = "UPDATE tbl SET dtm_updated = #" & Now & "# WHERE int_tbl_id =
12345;"
And I get an ODBC Call Failed Error.
It works if I set the dtm_update = NULL so I'm wondering if there is
some date/time conversion issue with Access97 and SQL Server. How and
what format do I need to convert the date/time so that I can update the
SQL Server table?
Thanks,
Joey.