PC Review


Reply
Thread Tools Rate Thread

compile error using date()

 
 
=?Utf-8?B?RGF2aWQgTWVoYXJn?=
Guest
Posts: n/a
 
      9th Sep 2006
I am trying to update a date field to today's date by placing Date() in the
"Update to" box on an update query. When it's run, however, it comes back
with an error: Compile error.in query expression 'Date()'.

Any ideas?
 
Reply With Quote
 
 
 
 
John Vinson
Guest
Posts: n/a
 
      9th Sep 2006
On Fri, 8 Sep 2006 17:22:01 -0700, David Meharg
<(E-Mail Removed)> wrote:

>Compile error.in query expression 'Date()'.


This appears to 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.

John W. Vinson[MVP]
 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Compile Date Mufasa Microsoft VB .NET 1 26th Sep 2007 09:49 PM
VBAProject name compile error, not defined at compile time Matthew Dodds Microsoft Excel Programming 1 13th Dec 2005 07:17 PM
Insert date of compile into code Robert Liles Microsoft VB .NET 0 11th Nov 2005 04:49 PM
getting compile date and time at runtime =?Utf-8?B?V2lsZnJpZWQgTWVzdGRhZ2g=?= Microsoft C# .NET 0 19th Mar 2005 09:35 AM
Date function gets compile error: Can't find project or library fredg Microsoft Access 1 27th May 2004 12:14 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:12 PM.