Y
Yannick
Hi,
I try to execute request on a ms-access database but I have a problem
with date.
the "myDate" field's format is "date/time"
my request is:
SELECT myCode, myStuff, myDATE FROM myTable WHERE myDate = #05/21/2004#
in ms-access interface, it works fine !
I get real good lines but when I try to execute in my asp.net vb page,
I get "internal automation error" without any other information.
Requests without date stuff inside works, in both asp and access even
with a lot of lines in result, so it's not a timeout problem.
executing request with
"where myDate = #05/21/2004# "
"where myDate LIKE #05/21/2004# "
"where myDate = #05/21/2004 00:00:00# "
"where myDate LIKE #05/21/2004 00:00:00# "
with " # " or " ' " gives me an error
If I change date delimiters to " ' ", I also get an error.
I don't know how to get out of that !
Thanks in advance for any tips !
--yannick--
no direct email reply : fake address
I try to execute request on a ms-access database but I have a problem
with date.
the "myDate" field's format is "date/time"
my request is:
SELECT myCode, myStuff, myDATE FROM myTable WHERE myDate = #05/21/2004#
in ms-access interface, it works fine !
I get real good lines but when I try to execute in my asp.net vb page,
I get "internal automation error" without any other information.
Requests without date stuff inside works, in both asp and access even
with a lot of lines in result, so it's not a timeout problem.
executing request with
"where myDate = #05/21/2004# "
"where myDate LIKE #05/21/2004# "
"where myDate = #05/21/2004 00:00:00# "
"where myDate LIKE #05/21/2004 00:00:00# "
with " # " or " ' " gives me an error
If I change date delimiters to " ' ", I also get an error.
I don't know how to get out of that !
Thanks in advance for any tips !
--yannick--
no direct email reply : fake address