Hi Koen
>
> This partial code does not help me.
> Would like to see the complete code.
The code I listed is called by logging('Here is a message')
>Would like to see the original logfile you showed which will show in vfp the 1st line cut off to only the last 21 characters.
All lines in the log file have the same contruction (from str to file statement) - that is what is puzzling.
Anyway - I guess I and my users can put up with it ( if indeed they use that facility)
Thanks for your interest.
-Bryan