*Procedure YGeneral_PrintWord * assuming there is a table having General field lcfile and there is a WORD document, embedded close all use MyTable Genfiedname="z_data" local oForm oForm = Createobject('_Form') SCAN MESSAGEBOX(STR(RECNO())) WITH oForm.myOle1 ControlSource = ALIAS()+'.'+GenfiedName IF .oleclass="Word.Document" * set the control size properly; * otherwise the document paper size may be not properly inherited. .width=600 .height=800 .object.Activate .object.PrintOut(0) ELSE ?"? OLeclass: ", .oleclass endif ENDWITH ENDSCAN =oForm.Release() RETURN *------------------------------------------------------------------- Define Class _Form As Form PROCEDURE iNIT this.addobject('myOLe1',"OleBoundControl") ENDPROC Enddefine close allI simply took the one from Message #1232305 and adjusted it so it would scan the records and print the .oldclass property value.