Advertisement

07.23.2008 at 02:03AM PDT, ID: 23587743
[x]
Attachment Details

Problem Importing dates from text files

Asked by graham666 in Microsoft Access Database

Tags: , , ,

I have some incoming data stored in text files which i am trying to import into access. The date format is yyyy-mm-dd hh:mi:ss.fff eg 2002-12-15 00:00:00.000. I would like to import the date as dd/mm/yyyy without the time. I have tried many variations in the import spec but have not been able to get this to work.

Access appears not to like the fractions of a second. If i manually remove the .000 from sample data and
import that it works and is recognised as a date and i can format it in the import spec.

I would ideally like to resolve this without writing vb code or manipulating the incoming data in anyway.Start Free Trial
[+][-]07.23.2008 at 03:20AM PDT, ID: 22067596

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Microsoft Access Database
Tags: microsoft, Access, 2003, Importing from text file
Sign Up Now!
Solution Provided By: peter57r
Participating Experts: 2
Solution Grade: A
 
 
[+][-]07.23.2008 at 03:28AM PDT, ID: 22067633

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628