>
> wait window nowait 'Preparing file '+lcSendFileName
> if file(lcSendFileName)
> erase (lcSendFileName)
> endif
>
> if lnFileSize< 5000000
> lcString=filetostr(<strong>lcFileName</strong>)
> lcString=strtran(lcString,["],'')
> llReturn=strtofile(lcString, lcSendFileName)
>
>
>Nadya,
>
>Note the bolded stuff above, is this a typo or not?
Nope. It produces another file in even different directory. Basically, after lcFileName is done, it could be even deleted (it's a temporary file).
Anyway, seems, like one liner works a little bit faster, than Create Cursor, etc. If somebody can confirm it, I would really appreciate the help, because I ran bunch of tests this morning and can not belive myself anymore...
Thanks again.
If it's not broken, fix it until it is.
My Blog