Results 1 to 4 of 4
  1. #1
    eckwrilw is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Nov 2011
    Posts
    2

    Help with access 2010 Navigation form print button


    Hello all!

    I have been assigned a task at work that involves recording, tracking and managing assets and the calibration intervals. I am very new to access and basically self taught with the help of some great forums. I have encountered an issue with one of my navigation forms and would like some insight. I have created a navigation form that shows a list of reports i have created. In the navigation report i would like to have a print button that only prints the selected report. It seems that access 2010 allows you to generate a print button, but wants you to designate it to one report. Is there a way that I can make a print button print only the report, and only the report that is selected on the navigation form.

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,926
    You created the 'navigation form' with wizard? I don't use the design wizards because they do things I don't like and can make it harder to edit design. Using VBA or macro? Are the names in the list (combobox or listbox) exactly the names of the reports?

    In VBA, could be:
    DoCmd.OpenReport Me.listboxname
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    eckwrilw is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Nov 2011
    Posts
    2
    Thanks for the reply.
    Yes the names in the list box are the exact same. I would like to generate my database using VBA or macros, but i am still learning. I guess what i really need my form to do is have a controls that are dependent on the selected navigation pane.

  4. #4
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,926
    You can either use the AfterUpdate event of the listbox with the suggested code or require user to click a button and its Click event would execute the code. Search Access Help on topic 'Introduction to Programming in Access'.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Print Preview Command Button Locks Access
    By DanKoz in forum Access
    Replies: 7
    Last Post: 03-19-2018, 12:34 PM
  2. Print Button on a Navigation Form
    By sotssax in forum Forms
    Replies: 2
    Last Post: 09-15-2011, 07:47 AM
  3. Navigation Form control syntax 2010
    By AndycompanyZ in forum Forms
    Replies: 2
    Last Post: 06-28-2011, 07:23 AM
  4. Replies: 2
    Last Post: 01-15-2011, 10:56 AM
  5. Banish the Access 2010 Navigation Pane
    By SteveF in forum Access
    Replies: 3
    Last Post: 12-07-2010, 10:44 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums