Solved

How to load a .prn file over 65 000 lines of data in Microsoft Access

Posted on 2006-06-22
4
494 Views
Last Modified: 2008-03-04
HI,

I need to load in a table a .prn (text file) into microsoft access but I'm unable because the file has more than 65 000 lines.

Under 65 000 lines I would open the .prn file in excel and save it as a .xls file in order to import it in an access table. I can not import directly the .prn in access and have to go through excel first but over 65 000 lines excel will trunk the file.

I cannot lose any data. I have found a way around but it's not really efficient. I open the .prn in wordpad and split the file in 2 (under 65 000 lines each) with a copy-paste ation in another text file and open both in excel and save them in .xls to import them into an access table and then in access I combine both table to get back the original file.

There must be an easier way.....HELP!!! Urgent!!!
0
Comment
Question by:MetDia
  • 2
  • 2
4 Comments
 
LVL 58

Accepted Solution

by:
harfang earned 500 total points
ID: 16961661
Hello MetDia

What is the stucture of your .prn file? You could show the first 10 lines here. Also, try to rename it to *.txt and then use the import assistant in Access. I don't think there is something you can import successfully in Excel that Access could not be made to understand...

(°v°)
0
 

Author Comment

by:MetDia
ID: 16961752
the .prn contains more than 120 column separated by a comma

example: "123","456","789",etc.

I have to open it in excel delimit the file with 'comma' and I'll have 1 column per data and then save it in .xls and then import it in access

can i skip the excel comma delimitation part ? if not how do I do this process with a 65 000 lines file ?

0
 

Author Comment

by:MetDia
ID: 16962035
the rename to .txt and then the import worked, thanks
0
 
LVL 58

Expert Comment

by:harfang
ID: 16965442
I'm glad it did. Success with your project!
(°v°)
0

Featured Post

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

QuickBooks® has a great invoice interface that we were happy with for a while but that changed in 2001 through no fault of Intuit®. Our industry's unit names are dictated by RUS: the Rural Utilities Services division of USDA. Contracts contain un…
Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
Familiarize people with the process of utilizing SQL Server views from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Access…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question