RE: How to import data from text file created from List Memory or Obje by BoudewijnLutgerink
BoudewijnLutgerink
Tue Aug 15 00:48:02 CDT 2006
There is, it's called Visual FoxPro, does that ring a bell? (LOL)
You can actually read the memo directly line by line with filetostr() function
like in:
set memowidth to 2048
list memory to cMemory.txt
cStr = FILETOSTR("cmemory.txt")
Then create an array like: ALINES(laLinesToRead, cStr)
Read the array line by line like:
ln = 28
clear
?SUBSTR(laLinesToRead(ln),1,63)
?SUBSTR(laLinesToRead(ln),64,3)
?SUBSTR(laLinesToRead(ln),100,1)
?SUBSTR(laLinesToRead(ln),115)
--
If it ain't a border collie, it's just a dog
"Peter" wrote:
> I want to import data from text files created from List Memory or List Object
> in VFP SP1. Is there any tools available for such import?
>
> Thanks
>
>