Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Stefan Wuebbe
  Where is Stefan Wuebbe?
 Hamburg
 Germany
 Stefan Wuebbe
 To: Michael Milling
  Where is Michael Milling?
 Mobile
 Alabama - United States
 Michael Milling
 Tags
Subject: RE: Tab delimited file to ALINES
Thread ID: 395556 Message ID: 395593 # Views: 42 # Ratings: 1
Version: Visual FoxPro 6 Category: General VFP Topics
Date: Thursday, January 16, 2014 6:04:11 AM         
   


> >
> >
> >
> > The FileToStr() syntax is wrong, but the "Append From" command does not work with Memo columns anyway.
> >
> > You could use "LLF" functions, something like
> >
lnHandle = FOPEN(m.lcFile)
> > Do While Not FEof(m.lnHandle)
> >     lcLine = FGETS(m.lnHandle, 8192)
> >     ALines(laLines, STRTRAN(m.lcLine, CHR(9), CHR(13)+CHR(10)))
> >     && and so forth
> > 

> >
>
> Thank you for the reply. I am on VFP 6, so the additional arguments in ALINES do not work with this version I belive.


Ah, that's an old version, isn't it. I missed the info in the header of your posting, sorry, wasn't there no FileToStr() function either at that time?
However, the LLF functions already were existing and StrTran() too, so you can use the first draft in the previous posting



hth
-Stefan

ENTIRE THREAD

Tab delimited file to ALINES Posted by Michael Milling @ 1/15/2014 9:01:27 PM
RE: Tab delimited file to ALINES Posted by Ali Koumaiha @ 1/15/2014 9:18:14 PM
RE: Tab delimited file to ALINES Posted by Michael Milling @ 1/15/2014 9:23:14 PM
RE: Tab delimited file to ALINES Posted by Vilhelm-Ion Praisach @ 1/15/2014 9:32:43 PM
RE: Tab delimited file to ALINES Posted by Stefan Wuebbe @ 1/15/2014 9:44:18 PM
RE: Tab delimited file to ALINES Posted by Michael Milling @ 1/15/2014 10:06:45 PM
RE: Tab delimited file to ALINES Posted by Vilhelm-Ion Praisach @ 1/16/2014 5:24:24 AM
RE: Tab delimited file to ALINES Posted by Michael Milling @ 1/16/2014 8:12:37 PM
RE: Tab delimited file to ALINES Posted by Stefan Wuebbe @ 1/16/2014 6:04:11 AM
RE: Tab delimited file to ALINES Posted by Anders Altberg @ 1/16/2014 12:04:51 AM