Results 1 to 3 of 3
  1. #1
    Silver Lounger GARYPSWANSON's Avatar
    Join Date
    Aug 2001
    Location
    Frederick, Maryland, USA
    Posts
    1,788
    Thanks
    0
    Thanked 2 Times in 2 Posts

    Using Menu's/Toolbars to control a report (A2K SR1)

    Is it possible to create a custom toolbar / menu to control a report. I.e., User opens a report but wants to change the report parameters. Could selections me made on a toolbar that then close the report and open the correct report or change the record source or sort of the report?

    Just wondering.
    Regards,

    Gary
    (It's been a while!)

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Using Menu's/Toolbars to control a report (A2K SR1)

    Yes, a custom toolbar control (button, dropdown list) has an OnAction property that can be the name of a VBA function. You can use Screen.ActiveReport to retrieve the active report object in the code

  3. #3
    Silver Lounger GARYPSWANSON's Avatar
    Join Date
    Aug 2001
    Location
    Frederick, Maryland, USA
    Posts
    1,788
    Thanks
    0
    Thanked 2 Times in 2 Posts

    Re: Using Menu's/Toolbars to control a report (A2K SR1)

    Thanks Hans.

    I will give this a try.
    Regards,

    Gary
    (It's been a while!)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •