Try this:
oWord = CreateObject("Word.Application")
oWord.Documents.Open("YourDoc.DOC")
With oWord.ActiveDocument.PageSetup
.LineNumbering.Active = .f.
.Orientation = 1 && wdOrientLandscape
EndWith
You can record a macro in word & then transform it to VFP
Boris
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.