>Please verify this.
>
>I create a file with Fcreate in Read/Write mode.
>Then the file is closed.
>
>It is opened a couple of times later in my program using
>Fopen in Read/Write mode.
>Now each time my program issues a FPUTs statement, the
>text in the file will be overwritten. Hence I need to use a
>FGETS to go until the EOF and then issue my FPUTS
>command.(consecutive fputs are trying to append text
>to the file)
>
>Thank you.
>
>Ria
Use fseek() instead - that would be faster.
In VFP 6, you can also omit LLFF altogether, in many cases, and write to a file with StrToFile(), or read with FileToStr().
HTH, Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)