Results 1 to 2 of 2
  1. #1
    Sparkydog is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Jan 2018
    Posts
    18

    Adding a "Refresh" Button to a Report

    Hi - I have a report & query that work well. But I want my users to be able to click on a "new PN" button (that would refresh the query - thereby prompting for a new part number "PN" to be entered.)



    I spent an hour or so trying to get this to work but could not figure out how to create the correct code in event procedure for the button on the report.

    Click image for larger version. 

Name:	PN Screenshot.JPG 
Views:	8 
Size:	82.6 KB 
ID:	32665

    Could one of you fine people help me? Thanks!

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,825
    Buttons won't work on report in PrintPreview, only ReportView.

    Post your code.

    I never use input popup in query - cannot validate user input.
    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. Replies: 30
    Last Post: 09-27-2013, 01:34 PM
  2. Replies: 7
    Last Post: 06-27-2013, 10:56 AM
  3. Replies: 11
    Last Post: 03-29-2012, 02:32 PM
  4. Replies: 2
    Last Post: 02-21-2012, 01:35 PM
  5. Replies: 0
    Last Post: 01-11-2012, 12:34 PM

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