Results 1 to 3 of 3
  1. #1
    mikel is offline Advanced Beginner
    Windows XP Access 2007
    Join Date
    Jun 2009
    Posts
    37

    How to Filter Report

    I'm very new to Access so please bare with me.



    I have 2 tables, one for Gages and one for Calibrations. Gage is on the 1 side and Calibrations is on the many side. One gage will have many calibrations.

    I'd like to have a report that will show the gage information from the Gage table on the top section of the form and then list all of the Calibration data from the Calibration table on the bottom of the form.

    What's the best way to do this. I tried 1 Query with Gage S/N as the criteria and that works but it returns more than one. It basically has a record for each calibration with the gage data being reused for every row. But is the 1 Query the best method and I'm just doing something wrong?

    I also tried 2 Queries but I don't like the fact that it asks you twice for the gage serial number.

    Any help is appreciated.

    Mike

  2. #2
    dcrake's Avatar
    dcrake is offline Competent Performer
    Windows XP Access 2003
    Join Date
    Aug 2009
    Posts
    435
    By the sound of it you need a main form sub form setup create you main form and show the guage details in the form header section. Then add a subform based on the calibrations table. You will be asked to provide the two fields that link the two. This should be the Primary key in the main form and the foreign key in the sub form.

    David

  3. #3
    mikel is offline Advanced Beginner
    Windows XP Access 2007
    Join Date
    Jun 2009
    Posts
    37
    You mention form/subform setup but would you do this on a report right? I have a form that I use to add information into the system and I'd like to add a button on my form that says "print report" which would open this report with the data filled out for whatever record was being viewed. Is that possible?

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

Similar Threads

  1. Filter button
    By tomeem in forum Access
    Replies: 0
    Last Post: 08-28-2009, 12:50 AM
  2. How do you filter repot?
    By archie in forum Reports
    Replies: 9
    Last Post: 08-26-2009, 10:50 PM
  3. Combo Box Filter
    By jgelpi in forum Programming
    Replies: 3
    Last Post: 07-27-2009, 12:54 PM
  4. Using Access for an Excel like filter?
    By crownedzero in forum Queries
    Replies: 0
    Last Post: 06-15-2009, 01:55 PM
  5. Replies: 19
    Last Post: 05-12-2009, 02:59 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