DateMonth () not a defined sub?
I am getting a "Sub or Function not defined" error when compiling my project.
The module in question is as follows:
Public Function MonthNames()
s1 = DateMonth()
s2 = (DateMonth()) + 1
s3 = (DateMonth()) + 2
When I get the definition for DateMonth, it says "Identifier under cursor is not recognized".
I thought DateMonth was a standard function in Access? I didn't think you had to define functions that were built-in...
It seems like this function has been working
properly for years and only recently (a week?) has it been causing compile errors.
Keys to the Problem DateMonth () not a defined sub?
DateMonth is not a built in function. If you want the month of the current date it would be
To check for Windows updates
- Open Windows Update by clicking the Start button Picture of the Start button, clicking All Programs, and then clicking Windows Update.
- In the left pane, click Check for updates, and then wait while Windows looks for the latest updates for your computer.
- If any updates are found, click Install updates. Administrator permission required If you are prompted for an administrator password or confirmation, type the password or provide confirmation.
Another Safe way to Repair the Problem: DateMonth () not a defined sub?:
How to Fix DateMonth () not a defined sub? with SmartPCFixer?
1. You can Download SmartPCFixer here. Install it on your system. When you open it, it will perform a scan.
2. After the scan is finished, you can see the errors and problems need to be repaired. Click Fix All.
3. The Repair part is done, the speed of your computer will be much higher than before and the errors have been removed. You can also use other functions in SmartPCFixer. Like dll downloading, windows updating and print spooler error repair.
Related: How to Update & Download NVidia GeForce 6100/nForce 420 WHQL Certified driver v.178.13,How to Update & Download NVidia GeForce 7600 GS Video Driver v.295.75 Certified,How Can I Update & Download NVidia GeForce 820M Driver v.344.48 WHQL,[Solved] Download NVidia GeForce GTX 560M VGA Driver v.296.17 Certified,Way to Update & Herunterladen NVidia GeForce GT 130M Video Treiber v.295.75 Certified,How to Update & Download SONY SVE14A1X1RH Realtek Ethernet Driver,Where to Download SONY SVS13A2W9ES Bluetooth Driver (Intel) v.2.6 - 22.214.171.124059,Best Way to Update & Download SONY VGN-CR203E Conexant HDAUDIO SoftV92 Data Fax Modem with SmartCP Setup Program v.126.96.36.199 driver,Best Way to Download SONY VGN-FE790G/N Wireless LAN Driver v.10.6.0.29,Method to Update & Download SONY VGN-NR31Z/S Firmware Extension Parser Device v.188.8.131.52,How to Fix Error 0x0000c1f5 Solución?,Error 0x80071a91 Win7 Fix Patch,Error 0x800ccc60 Windows Live Mail [Solved],Error Message 0x800ccc79 Outlook 2000 Fix,What is Error 0xc1ab0001?,[Answered] x64 saplugin dll,How to Fix Problem - Kb943729 Download?,Troubleshooting: Bccode D1 Error,Java Runtime Tech Support,Troubleshooting: ERROR NO SUCH GROUP Error
Read More: Custom settings on MSN page not working. [Solved],Solution to Error: Debug a service!,How Can I Fix - Custom list style problems?,Delete invisible table row! AAAARGH! (Change Tracking) [Solved],Deleting, recycle bin open window