Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

BeforeAutoSearchDialogCreate Invalid Property Value

Hi, when trying to print a report the error dialog appears:
Error Reading Template
ppReport12.BeforeAutosearchDialogCreate: invalid property value

There is no ppReport12 in the program (ppReport11 is the last) . The ShowAutoSearchDialog property is false.

Any ideas what is causing this?

Thanks

Andrew

Comments

  • edited May 15
    Hi Andrew,

    It is likely that at some point this template was saved with a report of that name and this event implemented.

    One option is to load the report into the report designer and select "ignore" when the error occurs, then re-save the template once the report has loaded.

    Another option is to save the template in ascii format and manually remove all references to this event before re-saving.

    Additionally, it is possible to set the Report.Template.IgnoreErrors to True in code before loading to force the suppression of any load errors.
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
Sign In or Register to comment.