>>>Pete,
>>>Just curious, is there any reason why you want to do this in "interactive" mode. Couldn't you manipulate the text file using low-level functions?
>>
>>Daniel,
>> Didn't know playing a keyboard macro was interactive. I'd like the whole thing to run untouched by human or any other hands. I thought that a macro was the way to go by saving it to a *.kby file and calling it with a PLAY MACRO(). I'm not fussy about how it's done. With the way I type and my dyslexia I don't want to do any more typing than I or anyone else have to. DYSLEXICS UNTIE!!
>>
>>Pete
>
>Daniel was right.
>
>You just have to open the file with low level functions.
>Copy the contain of the file in a variable.
>Seek the value to replace in the string.
>Replace it in the string.
>Write back the file with low level functions.
>
>Look at FOPEN(),FSEEK(),F...() in the help.
>
>HTH :-)
Gérald,
The problem is that there is no string to replace. I'm entering data in a preformatted form that I now need to place our return address.
I CERTIFY THAT THE MAILING SUBMITTED 3. NAME AND ADDRESS OF MAILER
WITH THIS FORM HAS BEEN CODED (AS
INDICATED ABOVE) USING CASS-CERTIFIED
SOFTWARE MEETING ALL OF THE REQUIRE-
MENTS OF DOMESTIC MAIL MANUAL A950.
I need to fill the space under the "3. NAME AND ADDRESS OF MAILER"
which is why I need to be able to get to this point. Please forgive me for being thick and obtuse. This text file is created by a third party, so I have no control beforehand.
Pete
Peter Adams
FoxPro Programmer
Compu-Mail
Heisenberg was probably right...