Advertisement

10.13.2004 at 03:55PM PDT, ID: 21167564
[x]
Attachment Details

Format changes for a time when inserting into a text field

Asked by onemorecoke in Microsoft Access Database

Tags: from, select, insert, format, text

Experts,

I have a text file with times of runners in a track meet.  When I import the text file into the table (fields have been removed for simpliciation), even though I am importing times into a text field (RunningTime), it converts the time to a real time, ie: 1:10:34 is converted to 1:10:34 AM.

Here is my statement:

INSERT INTO tblTable (RunningTime) SELECT RunningTime FROM [Text; DATABASE=c:\;HDR=YES].[ImportFile.txt]

Is there anyway to suppress this formatting that is occuring?  The strange thing is that it is not even being imported into a date/time field, it is a text field.

Thanks



Start Free Trial
[+][-]10.13.2004 at 04:21PM PDT, ID: 12303756

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.

 
[+][-]10.13.2004 at 04:22PM PDT, ID: 12303762

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.

 
[+][-]10.13.2004 at 04:24PM PDT, ID: 12303771

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: from, select, insert, format, text
Sign Up Now!
Solution Provided By: rockmuncher
Participating Experts: 2
Solution Grade: A
 
 
[+][-]10.14.2004 at 02:24AM PDT, ID: 12306308

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

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

 
[+][-]12.22.2004 at 01:03PM PST, ID: 12887580

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

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

 
[+][-]12.26.2004 at 01:41AM PST, ID: 12902990

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

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

 
[+][-]12.26.2004 at 06:56PM PST, ID: 12904729

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

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

 
[+][-]12.26.2004 at 11:32PM PST, ID: 12905158

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

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

 
[+][-]12.27.2004 at 12:33AM PST, ID: 12905368

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