Mike,
Why don't you create a subclass of the reportwizard and put code in the init (or activate) that does this?
That way you can show the subclassed wizard modal.
hth,
Frank
>Hi all,
>
>In SFReports, is there an easy way to Automatically choose your report and then show the Output Options screen? I know you can do it all with no UI, but it would be handy if there were a simple way to load a report without the users intervention and just show them the last step.
>
>The reason you'd want to show them the last step is so it printing and outputting is consistant with printing other reports throuhg the wizard.
>
>I did it like this, but is there an easier way? If not, should there be? The only problem I have with this is it has to be shown modeless.
>
>
poReports = makeobject('arsreportwizard', 'arsreports')
>poReports.cReportFilter = 'upper(reportname) = "AR CUSTOMER"'
>poReports.left = -1000
>poReports.Show()
>poReports.oTree.NodeClick(poReports.oTree.Nodes(2))
>poReports.SelectStep(5)
>poReports.AutoCenter = .T.
Frank Camp