• Refresh report (97)

    Author
    Topic
    #371928

    Refresh report
    I

    Viewing 2 reply threads
    Author
    Replies
    • #592640

      You can put a button on a report but that’s only for the looking. There is no possibility to make them working.
      Put the button on a form where you can write code to create a where condition that you send to the report with the DoCmd.OpenReport.
      See the help file for the syntax of DoCmd.OpenReport

    • #592642

      A report is not like a form. It makes no sense to add a button to a report – you would not be able to click it.

      What you *can* do is:

      • Create a form with text boxes, combo boxes, check boxes, … to filter the report. Microsoft describes how this can be done in MSKB article Q147143. This also contains a link to a downloadable sample database.
      • Create a command bar (tool bar) with combo boxes, text boxes etc. to filter the report.
        [/list]
    • #593040

      As both Francois and Hans have pointed out, you can’t do that. What you *can* do, though, is create a custom toolbar that loads at the same time as the report. It’s perfectly possible to use that toolbar to bring the criteria form back up so that you can rerun the report with new criteria.

    Viewing 2 reply threads
    Reply To: Refresh report (97)

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: