472,344 Members | 1,272 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,344 software developers and data experts.

Access 2007: importing text date

In Access 2007, I have successfully imported a text file with fixed width
fields. However the import did not correctly interpret a date. In the text
file the date field had no delimiter, was just MMDDYYYY. This column
appears empty in my table.

It doesn't seem like this is a hard thing to do. Any suggestions?

Marianne
Oct 15 '08 #1
2 3974
Mimi wrote:
In Access 2007, I have successfully imported a text file with fixed width
fields. However the import did not correctly interpret a date. In the text
file the date field had no delimiter, was just MMDDYYYY. This column
appears empty in my table.

It doesn't seem like this is a hard thing to do. Any suggestions?
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

When you import the text file use the Advanced button on the import
dialog box. This will display the import specification dialog box.
There are boxes that contain the date month/day/year delimiters - delete
anything in those boxes. Check the CheckBox for "Leading Zeros." This
will tell Access to read dates like 1/1/08 as 010108. Check the
CheckBox for "4-digit years." In the Fields specifications (in the
lower section of the specification dialog box) make sure the date field
has a Date/Time data type.
--
MGFoster:::mgf00 <atearthlink <decimal-pointnet
Oakland, CA (USA)
** Respond only to this newsgroup. I DO NOT respond to emails **

-----BEGIN PGP SIGNATURE-----
Version: PGP for Personal Privacy 5.0
Charset: noconv

iQA/AwUBSPaGMoechKqOuFEgEQJTigCfaw3UzAphQ3VieQR4hbNSN/VbNyEAoO5b
t1jL2sMNwb+7B/pQofkvrKVK
=rXSI
-----END PGP SIGNATURE-----
Oct 16 '08 #2

"MGFoster" <me@privacy.comwrote in message
news:W8******************************@earthlink.co m...
Mimi wrote:
>In Access 2007, I have successfully imported a text file with fixed width
fields. However the import did not correctly interpret a date. In the
text file the date field had no delimiter, was just MMDDYYYY. This
column appears empty in my table.

It doesn't seem like this is a hard thing to do. Any suggestions?

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

When you import the text file use the Advanced button on the import
dialog box. This will display the import specification dialog box.
There are boxes that contain the date month/day/year delimiters - delete
anything in those boxes. Check the CheckBox for "Leading Zeros." This
will tell Access to read dates like 1/1/08 as 010108. Check the
CheckBox for "4-digit years." In the Fields specifications (in the
lower section of the specification dialog box) make sure the date field
has a Date/Time data type.
--
Thanks for your response.

But it didn't seem to work. I don't quite understand your last sentence. In
the Import specification box, the Fields specifications don't have any type
specification, just a field name, start column and width. (and a check box.)
There is a blank field to the left and two blank fields (columns) to the
right. The corresponding field in the recipient table is Date/Time.

Thanks again for your help.

Marianne
Oct 16 '08 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: mark | last post by:
In Access 2000 and 2002, I have created an import specification to import the fixed-width recordset below into an existing table. I am having...
9
by: Edward S | last post by:
I budget for a Project in an Excel sheet as illustrated below. The months below are usually a 2 year period i.e. 24 months, though it could be...
2
by: nutthatch | last post by:
I want to be able to import an Excel spreadsheet into Access 2K using the macro command Transferspreadsheet. However, the file I am importing...
2
by: denisel | last post by:
Hi, We will be conducting surveys through SurveyMonkey online and will be importing the answers by tab delimited or comma delimited file into...
6
by: venmore | last post by:
Hi Can someone please point in the right direction. I have an XML file that gets updated every 4 hours on a web server. I can check the XML...
8
by: Trev | last post by:
Hi Can anyone point me in the right direction here, I would like to open a table in access 2003 by date. I have an asp web page which needs to...
8
by: saladinator | last post by:
I have created an Excel spreadsheet that has a lot of data. What I want to do is import the spreedsheet to Access and create a form so that I can...
1
by: BulbFresh | last post by:
Hi, Quick one for you, i'm importing a file which has a long date and time format, so once imported i update each date field with the correct...
9
by: prakashwadhwani | last post by:
Hi !! I'm about to develop a new project for a client. Should I go about it in Access 2003 or 2007 ? Purchasing it either for me or for my...
0
by: concettolabs | last post by:
In today's business world, businesses are increasingly turning to PowerApps to develop custom business applications. PowerApps is a powerful tool...
0
better678
by: better678 | last post by:
Question: Discuss your understanding of the Java platform. Is the statement "Java is interpreted" correct? Answer: Java is an object-oriented...
0
by: Naresh1 | last post by:
What is WebLogic Admin Training? WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge...
0
by: antdb | last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine In the overall architecture, a new "hyper-convergence" concept was...
0
by: Matthew3360 | last post by:
Hi there. I have been struggling to find out how to use a variable as my location in my header redirect function. Here is my code. ...
2
by: Matthew3360 | last post by:
Hi, I have a python app that i want to be able to get variables from a php page on my webserver. My python app is on my computer. How would I make it...
0
by: AndyPSV | last post by:
HOW CAN I CREATE AN AI with an .executable file that would suck all files in the folder and on my computerHOW CAN I CREATE AN AI with an .executable...
0
hi
by: WisdomUfot | last post by:
It's an interesting question you've got about how Gmail hides the HTTP referrer when a link in an email is clicked. While I don't have the specific...
0
by: Matthew3360 | last post by:
Hi, I have been trying to connect to a local host using php curl. But I am finding it hard to do this. I am doing the curl get request from my web...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.