Results 1 to 2 of 2
  1. #1
    stu_C is offline Advanced Beginner
    Windows XP Access 2003
    Join Date
    Mar 2010
    Posts
    38

    Shortcut or Command Buttons On Reports

    Hi all
    on the database when a user enters database all the tool bar disappears etc which we want.

    everything seems to work great but the only problem we have now is when a user views a report as a Print preview they cannot close it down as there are on close buttons.



    is there anyway we can do this without the tool bar going back either with a command button that they click or a keyboard shortcut to close the window down?

  2. #2
    ketbdnetbp is offline Competent Performer
    Windows 7 32bit Access 2003
    Join Date
    Mar 2011
    Location
    Midwest
    Posts
    254

    stu_C -

    You might be able to put VBA code, like this, behind a button on a form...

    DoCmd.Close acReport, "YourReportName"

    See if that produces the desirable results.

    All the best,

    Jim

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

Similar Threads

  1. Command Buttons
    By BLD21 in forum Access
    Replies: 2
    Last Post: 05-10-2011, 06:27 AM
  2. Command Buttons
    By Rosier75 in forum Access
    Replies: 3
    Last Post: 03-09-2011, 11:59 AM
  3. Remove Reports Shortcut
    By Desstro in forum Reports
    Replies: 1
    Last Post: 11-25-2010, 12:50 AM
  4. command buttons
    By nashr1928 in forum Forms
    Replies: 23
    Last Post: 10-15-2010, 04:09 PM
  5. Command buttons
    By maintt in forum Forms
    Replies: 3
    Last Post: 08-03-2010, 09:52 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