Without seeing your database it's hard to answer this, but I can take a stab at it. Open any VBA code for any procedure and click on TOOLS > REFERENCES. In the references dialog box that opens, look at what you have checked. Here is what
I have checked; and my DATE() function works fine.
- Visual Basic for Applications
- Microsoft Access 10.0 Object Library
- Microsoft DAO 3.6 Object Library
- OLE Automation
- Microsoft ActiveX Data Objects 2.5 Library
- Microsoft Office XP Web Components
Note that the list order is also important.
Greg Serrano
Michigan Dept. of Environmental Quality, Air Quality Division