G
Guest
Hello,
This is the report of a serious problem I have solved in an undocumented
way, as far as I know. However, the source of the problem continues unknown
to me. Sometimes I ask myself if this will be solved in Access 2007?
I have an application (mde) linked via ODBC to an SQL Server. In the WHERE
clause of SQL expressions, if I use a pair of delimiters # to enclose a date
inside, Access crashes immediately when reaches the query. I solve this
problem replacing # 20060506 # with CDate( “20060506†) in every query.
I ‘m convicted that this problem is related with the fact that I’m using
Windows XP Portuguese version and some type of erroneous conversion is done
with date. Portuguese date format is ddmmyyyy. However in vba code I’m always
using yyyymmdd format.
Thank you,
José António Silva
This is the report of a serious problem I have solved in an undocumented
way, as far as I know. However, the source of the problem continues unknown
to me. Sometimes I ask myself if this will be solved in Access 2007?
I have an application (mde) linked via ODBC to an SQL Server. In the WHERE
clause of SQL expressions, if I use a pair of delimiters # to enclose a date
inside, Access crashes immediately when reaches the query. I solve this
problem replacing # 20060506 # with CDate( “20060506†) in every query.
I ‘m convicted that this problem is related with the fact that I’m using
Windows XP Portuguese version and some type of erroneous conversion is done
with date. Portuguese date format is ddmmyyyy. However in vba code I’m always
using yyyymmdd format.
Thank you,
José António Silva