Ray at <%=sLocation%> wrote:
OP: "I am getting a syntax error on..."
:-(
Time for a break. I read "type mismatch".
Maybe my vision was clouded by the comparison of the string to the date ...
but now that I test it, I see that an implicit conversion is done. This:
Select Case True
Case Now > "1/2/2004 12:30:00 AM"
works just as well as this:
Select Case True
Case Now > #1/2/2004 12:30:00 AM#
Sheesh.
Bob
--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"