LeAnne said:
my
reply to the OP specifically addressed the use of DATE() within the
ACCESS environment: that the word "date" refers to a specific function;
and for that reason the word is reserved by Jet.
You've got things quite a bit confused, it seems.
Take a look in the Object Browser in the MS Access Visual basic Editor.
Change the dropdown from '<all libraries>' to 'Access' and search using
the keyword 'date'. You'll see lots of BeforeUpdate's and AfterUpdate's
but no DATE function.
Change the dropdown to VBA and you will see the DATE function listed
for VBA's DateTime class. That's the very same VBA library that is used
in all the MS Office apps. Jet also has a DATE function.
Some people use 'Access' and 'Jet' interchangeably and usually there's
no harm in that. But you have stated (twice) that the reason the word
DATE is reserved by Jet is because it is reserved by MS Access and that
is incorrect. The word DATE is reserved in Jet in its own right,
presumably because Jet has a DATE function. I cannot say for sure but I
suspect the reason MS Access has DATE as a reserved word is because it
is reserved in Jet, in which case you would have got your reasoning
completely the wrong way round.
That the word is also
reserved in other Jet-based apps was immaterial.
I'm not referring to 'other Jet-based apps', I'm referring to Jet
itself i.e. the very same Jet as used by MS Access apps. Take a look
this KB article, in particular the title:
List of Microsoft Jet 4.0 reserved words
http://support.microsoft.com/default.aspx?scid=kb;en-us;321266
This is an ACCESS newsgroup. The question was about ACCESS. My
experience with rdbms's has been entirely with ACCESS.
Are you saying that discussions about Jet are prohibited here? It was
you who first referred to Jet in this thread, I think.
Jamie.
--