>Report Form myReport Object Type 0 >>
>Local loReportListener >Do (_ReportOutput) With 0, loReportListener >loReportListener.AllowModalMessages=.T. >loReportListener.DynamicLineHeight = .T. >loReportListener.PrintjobName="Print Job" >loReportListener.Quietmode=.F. >Report Form myReport Object loReportListener >>
>Local loReportListener >loReportListener=CREATEOBJECT("ReportListener") >loReportListener.ALLOWMODALMESSAGES=.T. >loReportListener.DYNAMICLINEHEIGHT = .T. >loReportListener.LISTENERTYPE=0 >loReportListener.PRINTJOBNAME="Print Job" >loReportListener.QUIETMODE=.F. >REPORT FORM myReport OBJECT loReportListener >The ReportListener returned by ReportOutput.APP (the first and second examples) isn't a base class ReportListener but one that has additional functionality (one of the classes in _ReportListener in the FFC folder). Your third example instantiates a base class ReportListener which doesn't know anything about rotation.