Date and Time

  • Thread starter Brenda from Michigan
  • Start date
B

Brenda from Michigan

User has a database probably created in Access 97. It was converted to
Access 2000 and client has just been reimaged to XP, so she now has Access
2002.

User had a field in various places of her database to insert Date and Time.
Since getting XP, that shows as '#? Name' any place it is used. She has
deleted the code and tried to reinsert Date and Time to no avail. I have
Access 2002 and have no problem inserting the Date and Time. Can anyone
offer us any advice?
 
B

boblarson

What code is she using and where? Is it in a control on a form? In a query?
Where exactly. It should work fine but there may be some syntactical
changes that need to occur.
--
Bob Larson
Access World Forums Super Moderator
Utter Access VIP
Tutorials at http://www.btabdevelopment.com
__________________________________
If my post was helpful to you, please rate the post.
 
E

Ed Metcalfe

Brenda from Michigan said:
User has a database probably created in Access 97. It was converted to
Access 2000 and client has just been reimaged to XP, so she now has Access
2002.

User had a field in various places of her database to insert Date and
Time.
Since getting XP, that shows as '#? Name' any place it is used. She has
deleted the code and tried to reinsert Date and Time to no avail. I have
Access 2002 and have no problem inserting the Date and Time. Can anyone
offer us any advice?

How is the current date/time getting entered into the field? Is it set as a
default value, via a query, code?

Ed Metcalfe.
 
K

Ken Snell \(MVP\)

Sounds like a References problem.

Try following these steps (from a post by Douglas Steele, MVP):

If any of the database's references are messed up on a PC -- you can get
that error.

Try following these steps (from a post by Douglas Steele, MVP):

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)

For far more than you could ever want to know about this problem, check out
http://www.accessmvp.com/djsteele/AccessReferenceErrors.html
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top