Results 1 to 3 of 3
  1. #1
    trumpetman is offline Novice
    Windows XP Access 2010 32bit
    Join Date
    Jun 2012
    Posts
    11

    Filter a report in 2010

    I am using Access 2010 and the contact template database. I know that there are standard reports in the main tab. One of them is the Contact report and when I run that report it brings up all the contacts. If I want to select one job title contacts for example Business Development Managers, is there a away I could do this?



    Thanks for the help in advance.

  2. #2
    Robeen is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    Mar 2011
    Location
    Tulsa, Oklahoma.
    Posts
    1,596
    One way you could do that is look at the Report's Property Sheet -> Data Tab -> Record Source property.
    If it is a query, you could add:
    . . . Where JobTitle = "Business Development Managers"
    to the Criteria of the SQL - or just "Business Development Managers" - if you are working in design view in the query designer.

    Then - when the report runs you will only see those records.

  3. #3
    amrut is offline Expert
    Windows 7 64bit Access 2010 32bit
    Join Date
    Jun 2012
    Location
    Dubai
    Posts
    614
    Use a command button to open the report with the code below
    DoCmd.OpenReport "rptName", acViewPreview, , "[fieldname]='" & FilterCriteria & "'"
    The report will show only matching records. Note the single quotes around filter criteria assuming the fieldname is text type

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

Similar Threads

  1. Replies: 1
    Last Post: 06-21-2012, 07:58 PM
  2. Report Filter
    By BFlat in forum Access
    Replies: 3
    Last Post: 05-12-2012, 12:51 AM
  3. Help - trying to Filter on report
    By JulieBright in forum Reports
    Replies: 7
    Last Post: 04-20-2012, 02:35 AM
  4. Filter Report
    By BorisGomel in forum Reports
    Replies: 2
    Last Post: 06-09-2011, 03:22 PM
  5. Access 2010 filter bug
    By lord_de_tempest in forum Access
    Replies: 0
    Last Post: 03-11-2011, 02:16 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