>Create Cursor BILLCOMPRESS (PS C(254)) >Append From (m.CPSFILEPATH) Sdf >lcText='' >scan > lcText = lcText + trim(ps) >Endscan >Strtofile(lcText,newpath)Yuck - if Len(lcText) grows much beyond 2**16 you will hamper vfp heavily by forcing to allocate new memory. Turn to LLF instead, more stable overall.