>>1. You can use ADIR() function to get a list of the files in the specified directory into array.
>>
>>2. You can split first field into two fields 160 characters long for import and than join them again during processing. You can use a memo field to store it after processing.
>
>Thanx for the responce Sergey...
>ADIR sounds like what I want
>I am on a new workstation which does not contain help files until next weekVFP 7 help file is online at
http://msdn.microsoft.com/nhp/default.asp?contentid=28000961&frame=trueADIR() help is at
http://msdn.microsoft.com/library/en-us/foxhelp98/lraddco_22.asp?frame=true>I have-to ask
>When I
>? ADIR(*.*)
>I get 'function name is missing'
>What's the correct way to use this function?
DIMENSION laFileList[1]
lnFiles = ADIR(laFileList, "*.*")
FOR i=1 TO lnFiles
? laFileList[i, 1]
ENDFOR
>So after an FREAD() [I think that's it) I can partition the line in two and put it back together for fwrite() right?The FREAD() function can read up to 64k characters.
The size of the character field in the foxpro table is limited to 254 characters. The size of character variable can be up to 16 Mb.
--sb--