Results 1 to 2 of 2
  1. #1
    adams.bria is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Apr 2010
    Posts
    22

    Filtering Report

    I have report 1, which gives basic information about job openings, sorted by position, then it lists the employer, # of openings etc.



    On report 2 I have the requirements that the employer has sent us.

    User would start on report 1, then click button which loads report 2, filtered based on which employer they clicked on.

    Problem: How to tell Access to read only the dept which they are clicking on. Right now here is what I have behind the button. It is reading all the dept_name 's except just the dept_name of that specific row.

    Code:
    Private Sub Command41_Click()
    
    Dim dept As String
    
    dept = "dept_name"
    
    DoCmd.OpenReport "rptDept_Requirements", acViewPreview, , dept
    
    End Sub

  2. #2
    pbaldy's Avatar
    pbaldy is online now Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,518
    As posted elsewhere:

    BaldyWeb wherecondition
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

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

Similar Threads

  1. Filtering a report
    By tarhim47 in forum Reports
    Replies: 2
    Last Post: 03-30-2011, 11:49 AM
  2. Filtering report
    By huv123 in forum Reports
    Replies: 2
    Last Post: 02-15-2011, 02:59 PM
  3. Report filtering
    By banjo1t in forum Reports
    Replies: 4
    Last Post: 01-26-2011, 06:43 AM
  4. Report Filtering
    By HM1 in forum Reports
    Replies: 2
    Last Post: 07-06-2009, 06:06 AM
  5. Filtering my report
    By ldarley in forum Reports
    Replies: 1
    Last Post: 09-05-2008, 09:14 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