Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Importing Text File 2

Status
Not open for further replies.

tekvb1977

Technical User
Nov 16, 2005
46
US
I have a text file that is not comma delimited and it has bunch of fields in it. When I try to export it into access it puts data for all the fields under one field "Field1" ... I guess bcz the file is not comma delimited. How could I import it into access corectly.

Thanks for help in advance.

J
 
You can use any number of things for a delimiter. How is the file laid out? Can you post a few lines?
 
When I try to export it into access
How did you that ?
What about the access import wizard ?

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
09990000006282004-01-282004-02-031438000001619000011830000022080000000000000022080

The data above is for 10 fields.

I know the field names. When I import data into access I like the above data to break out and be assigned to the right field names.

Thanks for helping me out with this.

J
 
This looks to me like fixed width. I guess you must know where the breaks occur, so you can use the text import wizard and click in breaks at the right points. If you save the specification (advanced), you can use it again.
 
Choose fixed length instead of delimited.

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top