See ProcessReport() method, tcScopeClause parameter.
ProcessReport(<tcReportName>, <tcForClause>, <tlSummary>, ;
<tcScopeClause>, <tcWhileClause>, <tlPlain>)
loSession.ProcessReport("MyReport",,, "NEXT 1")
>Is it possible to specify the clause NEXT 1 when converting a VFP report to a PDF file? When I produce this report in VFP I issue command:
>
>
>Report form MyReport next 1 noconsole to printer
>
>
>But when I specify this report name "MyReport" using XFRX (loSession.ProcessReport("MyReport")), the PDF file includes all records in the table?
>
>Thank you in advance for any suggestions.
>
>BTW, I am using XFRX with VFP 9 without using specific VFP 9 feature (Report Listener).
--sb--