S
Steve Sanford
RG,
I'm not doing a very good job of explaining, so i was looking for a site for
an example.
I found this:
http://www.mvps.org/access/forms/frm0001.htm
Within a string, a function is not evaluated, because it is a string. (Great
logic <g>)
You have to concatenate the results of the function to the string, to build
the proper SQL syntax.
I have an excuse for not being able to 'splain it ... I'm working 12 hour
night shifts. Time for bed..
--
Steve S
--------------------------------
"Veni, Vidi, Velcro"
(I came; I saw; I stuck around.)
I'm not doing a very good job of explaining, so i was looking for a site for
an example.
I found this:
http://www.mvps.org/access/forms/frm0001.htm
Within a string, a function is not evaluated, because it is a string. (Great
logic <g>)
You have to concatenate the results of the function to the string, to build
the proper SQL syntax.
I have an excuse for not being able to 'splain it ... I'm working 12 hour
night shifts. Time for bed..
--
Steve S
--------------------------------
"Veni, Vidi, Velcro"
(I came; I saw; I stuck around.)
ruralguy via AccessMonster.com said:I would think it would resolve at run time, but I could be wrong.
Steve said:The point I was trying to make was the Now() function was inside the text
string of the SQL and did not evaluate to a date.
[quoted text clipped - 160 lines]Steve,
Your input is more than welcome but just for the record, direct from VBA Help:However, you are correct that the CCNo is the line returning the error. I
apologize for the earlier confusion.