but i do not know the equivalent code in VFP6.0 for the following visual basic line of code -You need to qualify the object in VFP. I assume you have a reference to the Word Application in some local VFP object, let's call it oWord.
oWord.Selection.HeaderFooter.LinkToPrevious = Not oWord.Selection.HeaderFooter.LinkToPrevious