Results 1 to 3 of 3
  1. #1
    DavidQMP is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Mar 2016
    Posts
    8

    Reports - Manual Filter/Changing Criteria

    Hi,



    So I've got a report that lists all sales within a month, and their value. What i want to do is create a manual entry field on the report, so that users can input the transaction number to only return the information specific to that transaction. (I do not want them editing the queries etc).

    I would prefer (if its possible) that inputting the transaction number would update the criteria within the query, but if a report filter is the only way to go then i'll have to make do.

    Appreciate any help,

    Thanks

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,550
    On a form,put a cboBox, user selects the number.
    the query would be:
    select * from table where [dept]=forms!myForm!cboBox

    a button would open the report,
    docmd.openreport "myRpt", acPreview

  3. #3
    DavidQMP is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Mar 2016
    Posts
    8
    Quote Originally Posted by ranman256 View Post
    On a form,put a cboBox, user selects the number.
    the query would be:
    select * from table where [dept]=forms!myForm!cboBox

    a button would open the report,
    docmd.openreport "myRpt", acPreview
    I've created a button to open the report, but cannot seem to get the first part right. Is it possible via macro or expression builder? The number is in a query rather than a table if that makes any difference..

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

Similar Threads

  1. Replies: 6
    Last Post: 07-03-2015, 02:40 AM
  2. Replies: 7
    Last Post: 09-27-2014, 09:11 PM
  3. Pdf changing colours when exporting reports
    By iancedwar in forum Reports
    Replies: 1
    Last Post: 06-12-2014, 03:41 AM
  4. Reports and changing the names
    By brobb56 in forum Access
    Replies: 9
    Last Post: 09-21-2011, 03:57 PM
  5. Replies: 0
    Last Post: 03-17-2009, 11:25 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