importing general date from text file

D

Dennis Harding

This 6/13/2008 14:40:29 is general date from a text file and this 6/13/2008
2:40:29 PM is general date from Access. Access will not import the general
date from the text file directly. I can import it into Excel (that seems to
know that it is a date) then import it into Access. This has been going on
for at least 8 years. I have tried it on every version for 8 years. Surely
I'm not the only one that has had this problem. I have also been doing some
programming with VB 2005 Express and 2008 express. They export (write to text
file) as the first format example (6/13/2008 14:40:29). Even if there are
some settings on the local computer that can help, this is a major PAIN
sometimes. You can't always easily get to someone else computer to make these
changes. Since Excel understands on all versions Access should be able to
also. If there is a fix I would like to know. I have several workarounds like
import to Excel first...It needs to be fixed....PLEASE...

----------------
This post is a suggestion for Microsoft, and Microsoft responds to the
suggestions with the most votes. To vote for this suggestion, click the "I
Agree" button in the message pane. If you do not see the button, follow this
link to open the suggestion in the Microsoft Web-based Newsreader and then
click "I Agree" in the message pane.

http://www.microsoft.com/office/com...75703&dg=microsoft.public.access.externaldata
 
J

Jeff Boyce

What happens if you use the CDate() function on the raw text data? Try that
in a query.

Regards

Jeff Boyce
Microsoft Office/Access MVP
 

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