Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Newsgroup Archive
Access Newsgroups
Access General
Why do I get "unknown function 'date'"
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
Reply to thread
Message
[QUOTE="Douglas J Steele, post: 953423"] Two common reasons. First is that you're using the word Date somewhere in your application for your own purposes: the name of the field in a table, the name of a variable, the name of a function, etc. Date is a reserved word, and shouldn't be used for your own purposes. Second is that you've got a problem with your References collection. Like virtually every other Windows application, Access makes use of external references to provide additional common functionality. There are a number of circumastances that can lead to the References collection getting corrupted (installing new software that replaces one or more of the existing references, moving the application to another workstation where the references are a different version or do not exist, etc.) Open any code module, then select Tools | References from the menu bar. Examine all of the selected references. If any of the selected references have "MISSING:" in front of them, unselect them, and back out of the dialog. If you really need the reference(s) you just unselected (you can tell by doing a Compile All Modules), go back in and reselect them. If none have "MISSING:", select an additional reference at random, back out of the dialog, then go back in and unselect the reference you just added. If that doesn't solve the problem, try to unselect as many of the selected references as you can (Access may not let you unselect them all), back out of the dialog, then go back in and reselect the references you just unselected. (NOTE: write down what the references are before you delete them, because they'll be in a different order when you go back in!) [/QUOTE]
Verification
Post reply
Forums
Archive
Newsgroup Archive
Access Newsgroups
Access General
Why do I get "unknown function 'date'"
Top