M y errors are occurring when I compile the code.
When I type Date() in VBA code the on-screen word changes to Date {the ()
disappears}.
This is normal behavior. Functions with no arguments don't need the ()
in VBA (although they do in SQL... Microsoft is NEVER consistant!)
When I compile the code I get unrecognized command or keyword in the line
where date is.
Perhaps you could post your code, with the actual error message. It's
a bit hard to debug at this distance!
Howver, it could be the very common References bug. Open any
module in design view, or open the VBA editor by typing
Ctrl-G. Select Tools... References from the menu. One of the
..DLL files required by Access will probably be marked
MISSING. Uncheck it, recheck it, close and open Access.
If none are MISSING, check any reference; close and open
Access; then uncheck it again. This will force Access to
relink the libraries.