Two things to check:
1. This marker is for Word 2003 documents. Were the documents created with that version of Word?
Docs from different versions of word have different identifiers.
2. Some software write file structure at the end of the file too.
The identifier of the end of Word 2003 documents is:
chr(244) + chr(57)+chr(178)+chr(113)
there is a lot of chr(0) after this identifier but they don't interfere in the file.
See if you are getting something after that.
>
>I have never used general field.I have to clean up something based on a client's request.
>
>From Sergey's message, I was able to save as is a PDF file. That works. However, when I used the same approach for a Word file, using the marker:
>
>
> lnLocation=AT(Chr(208) + Chr(207) + Chr(17) + Chr(224) + ;
> Chr(161) + Chr(177) + Chr(26) + Chr(225),lcFile)
>
>
>This creats a file that cannot be opened in Word.
***
TONY Nascimento
*****************
"Your mind is like a parachute. It only works if it is open" - Anthony J. D'Angelo
"The desire to know is natural to good men" - Leonardo da Vinci