Hi again,
I'm getting this error while saving datetime (in string) entered by user into datetime field in a database.
Microsoft OLE DB Provider for ODBC Drivers (0x80040E07)
[Microsoft][ODBC SQL Server Driver][SQL Server]The conversion of a char data type to a datetime data type resulted in an out-of-range datetime value.
To be more specific: the query works fine with most "real life" datetime, only when I entered this "11/11/1111" the ERROR happens.
Is there a way to Catch this error?
I'm getting this error while saving datetime (in string) entered by user into datetime field in a database.
Microsoft OLE DB Provider for ODBC Drivers (0x80040E07)
[Microsoft][ODBC SQL Server Driver][SQL Server]The conversion of a char data type to a datetime data type resulted in an out-of-range datetime value.
To be more specific: the query works fine with most "real life" datetime, only when I entered this "11/11/1111" the ERROR happens.
Is there a way to Catch this error?