List index out of Bounds


Fast report 2.51 always give List index out of bounds if use PrintPrepareDlg
or PrintPreparedReport(....
You absolutely need to preview report before you can print without getting
this error. Is there any body find a solution to this ?

I search the forum but did not see any solution to this error.

Jirayu

Comments

  • edited 7:00PM
    Make sure report is Prepared first. Report must be prepared by PrepareReport or loaded by LoadPreparedReport.
  • edited 7:00PM
    Make sure that a valid printer is selected (not the virtual) in the report options dialog or else this error will be shown when trying to print without print dialog. Or select the printer via code at runtime by calling the ChangePrinter method.

    Regards:Alex

Leave a Comment