• How to by pass CLOSE event? (97)

    Author
    Topic
    #373645

    How to by pass CLOSE event?
    My report deletes a toolbar whenever the report is closed however, I have an option to re-query the report date in order to

    Viewing 0 reply threads
    Author
    Replies
    • #601250

      Why deleting a toolbar ?
      In the On Close event of the report you can use :
      DoCmd.ShowToolbar “YourToolBarName”, acToolbarNo
      In the On Open event of the report use :
      DoCmd.ShowToolbar “YourToolBarName”, acToolbarYes

      • #601253

        Well as of my post I didn

      • #601257

        Hehe

        • #601406

          It’s even possible without using code:

          Forms and reports have a Toolbar property. By clicking in this property and selecting the name of a custom toolbar, you “bind” the toolbar to the form/report. This means that the toolbar will be displayed automatically when the form/report is opened and hidden when the form/report is closed. The standard Access toolbar for forms/reports will be *not* be shown.

          • #601516

            Muchos gracias, excellente seniorata (THE SIMPSONS)

    Viewing 0 reply threads
    Reply To: How to by pass CLOSE event? (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: