A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Running & Setting Up Queries
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Date Function Not Available



 
 
Thread Tools Display Modes
  #1  
Old September 13th, 2004, 04:15 PM
Sash
external usenet poster
 
Posts: n/a
Default Date Function Not Available

I've been running an application for 2 years with many Date functions.
Recently the machine was upgraded to Windows 2000 (not sure if it's related)
and now none of my queries with Date() work. I keep getting an error of Date
Function not available....can someone help???????????
  #2  
Old September 13th, 2004, 05:26 PM
fredg
external usenet poster
 
Posts: n/a
Default

On Mon, 13 Sep 2004 08:15:03 -0700, Sash wrote:

I've been running an application for 2 years with many Date functions.
Recently the machine was upgraded to Windows 2000 (not sure if it's related)
and now none of my queries with Date() work. I keep getting an error of Date
Function not available....can someone help???????????


Your machine has a missing reference.

Open any module in Design view (or click Ctrl + G).
On the Tools menu, click References.
Click to clear the check box for the type library or object library
marked as "Missing:."

An alternative to removing the reference is to restore the referenced
file to the path specified in the References dialog box. If the
referenced file is in a new location, clear the "Missing:" reference
and create a new reference to the file in its new folder.

See Microsoft KnowledgeBase articles:
283115 'ACC2002: References That You Must Set When You Work with
Microsoft Access'
Or for Access 97:
175484 'References to Set When Working With Microsoft Access' for
the correct ones needed,
and
160870 'VBA Functions Break in Database with Missing References' for
how to reset a missing one.

For even more information, see
http://members.rogers.com/douglas.j....nceErrors.html
--
Fred
Please only reply to this newsgroup.
I do not reply to personal email.
  #3  
Old September 14th, 2004, 04:48 PM
StCyrM
external usenet poster
 
Posts: n/a
Default

Good morning

Sounds like a References problem to me.

This can be caused by differences in either the location or file version of
certain files between the machine where the application was developed, and
where it's being run (or the file missing completely from the target
machine). Such differences are common when new software is installed.

On the machine(s) where it's not working, open any code module (or open the
Debug Window, using Ctrl-G, provided you haven't selected the "keep debug
window on top" option). 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)



I've been running an application for 2 years with many Date functions.
Recently the machine was upgraded to Windows 2000 (not sure if it's related)
and now none of my queries with Date() work. I keep getting an error of Date

Function not available....can someone help???????????








 




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
QDE (Quick Date Entry) Norman Harker Worksheet Functions 37 September 5th, 2004 01:24 AM
QDE (Quick Date Entry) Norman Harker General Discussion 3 September 3rd, 2004 08:00 AM
Dates and Iif function in query criteria refresh Running & Setting Up Queries 7 July 15th, 2004 03:57 PM
Aggregating Date Data into Weeks and Quarters Roger Running & Setting Up Queries 3 July 11th, 2004 05:56 PM
date time =now() function Brenda Worksheet Functions 7 May 10th, 2004 12:18 AM


All times are GMT +1. The time now is 09:41 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.