PC Review


Reply
Thread Tools Rate Thread

Access Import - skipping line feeds

 
 
scotteh
Guest
Posts: n/a
 
      19th Jan 2007
Im having a problem importing a text file. Whenever I import it (as a
fixed width, its just a single record, a file name, on each line) many
of the records get grouped together. You can only see them if you make
the height of each table row higher, then you see 3 or 4 lines in a
single record.

The file was created on a mac, then I opened it in Word in XP and
changed the paragraph marks to line feeds (as microsoft recommended to
fix this problem) but the same thing is still happening. I've tried
saving it as a word file, then reopening and saving as a text file with
line feeds. Same problem.

The only other relevant info I can think of is, its a big file. 130,000
records.

Any ideas? Why is access not seeing some of the line feeds (or
paragraph marks. I've tried both, and even tried putting 2 paragraph
marks at the end of each line)?

Thanks!

Scott

 
Reply With Quote
 
 
 
 
Jason Lepack
Guest
Posts: n/a
 
      19th Jan 2007
Have you tried opening it delimited and specifying the linefeed
character as one of the delimiters?
scotteh wrote:
> Im having a problem importing a text file. Whenever I import it (as a
> fixed width, its just a single record, a file name, on each line) many
> of the records get grouped together. You can only see them if you make
> the height of each table row higher, then you see 3 or 4 lines in a
> single record.
>
> The file was created on a mac, then I opened it in Word in XP and
> changed the paragraph marks to line feeds (as microsoft recommended to
> fix this problem) but the same thing is still happening. I've tried
> saving it as a word file, then reopening and saving as a text file with
> line feeds. Same problem.
>
> The only other relevant info I can think of is, its a big file. 130,000
> records.
>
> Any ideas? Why is access not seeing some of the line feeds (or
> paragraph marks. I've tried both, and even tried putting 2 paragraph
> marks at the end of each line)?
>
> Thanks!
>
> Scott


 
Reply With Quote
 
scotteh
Guest
Posts: n/a
 
      19th Jan 2007
Hey! That worked!! I didnt specify the linefeed, just chose delimited
and used Tab, since I know there arent any in the file.

Thanks!

Scott




Jason Lepack wrote:
> Have you tried opening it delimited and specifying the linefeed
> character as one of the delimiters?


 
Reply With Quote
 
John Nurick
Guest
Posts: n/a
 
      19th Jan 2007
Hi Scott,

130,000 records shouldn't be a problem.

You say you're importing it as a fixed width file. File names vary in
length: are the records padded out with spaces so that each line is
exactly the same length? If not, it's not a fixed width file: import it
as a delimited file, specifying a delimiter that does not appear in the
filenames. (On a Windows system I'd suggest the pipe character "|", but
if the names are from a Macintosh file system the rules are - or used to
be - different.)

On 19 Jan 2007 08:26:40 -0800, "scotteh" <(E-Mail Removed)> wrote:

>Im having a problem importing a text file. Whenever I import it (as a
>fixed width, its just a single record, a file name, on each line) many
>of the records get grouped together. You can only see them if you make
>the height of each table row higher, then you see 3 or 4 lines in a
>single record.
>
>The file was created on a mac, then I opened it in Word in XP and
>changed the paragraph marks to line feeds (as microsoft recommended to
>fix this problem) but the same thing is still happening. I've tried
>saving it as a word file, then reopening and saving as a text file with
>line feeds. Same problem.
>
>The only other relevant info I can think of is, its a big file. 130,000
>records.
>
>Any ideas? Why is access not seeing some of the line feeds (or
>paragraph marks. I've tried both, and even tried putting 2 paragraph
>marks at the end of each line)?
>
>Thanks!
>
>Scott


--
John Nurick [Microsoft Access MVP]

Please respond in the newgroup and not by email.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Line feeds JerryTX Microsoft Word Document Management 1 14th May 2008 04:07 PM
Unwanted line feeds in Access 2007 reports FrankL Microsoft Access Reports 0 1st May 2008 02:11 AM
line feeds in Gridview cells? vbcrlf ? new line? wildman@noclient.net Microsoft ASP .NET 3 6th Mar 2008 08:54 PM
Animate a line when no # is on line (it's skipping lines) =?Utf-8?B?YW5uaWU=?= Microsoft Powerpoint 1 6th Feb 2006 05:31 AM
How to make access import large tables without skipping columns? =?Utf-8?B?Y2JzaG91c2g=?= Microsoft Access 1 12th Aug 2005 02:28 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:38 PM.