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

Autosearh Dialog

edited April 2006 in End User
Hi

I created a user-end report with a autosearch criteria in the query
designer. The autosearch checkbox is checked.

Comments

  • edited April 2006

    - The minimum code required is

    myReport.Template.FileName := 'c:\myReport.rtm';
    myReport.Template.LoadFromFile;
    myReport.Print;

    - The default value for Report.ShowAutoSearchDialog is true and for
    DeviceType is Screen.

    - Do not call Report.DisplayAutoSearchDialog - that is a function that
    displays the autosearch dialog. You only need to call Report.Print, it will
    internally call DisplayAutoSearchDialog




    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
This discussion has been closed.