Results 1 to 4 of 4
  1. #1
    Vikki is offline Novice
    Windows XP Access 2003
    Join Date
    Jan 2010
    Location
    Shropshire, UK
    Posts
    19

    Reports ??? Help!

    Stuck again



    For shelf life analysis

    I am attempting to create a database where we create a sample ID (used Auto number) and also input date produced and size of unit. This I have done using a form.

    Each sample is then checked each day. The samples are graded from 0 to 3.
    0 being ok,
    1 off,
    2 very off,
    3 rancid.

    Instead of having to enter a zero, I was hoping just to enter when the results are positive, using a form to enter data on a new table showing Sample ID, Dated Tested and Result.

    This is all working well. I have Created a subdataform in the Sample entry table with the results table.

    My problem is now extracting the data to show the number of days to the first positive test date for each batch indivadial sample.

    I can create a report but this shows all the results for each sample and I just want the first day that is positive,

    Also I need to beable to calculate the % of batch (production day/ size) that has a positive result.

    If anyone understands this I'll be amazed . But I would be very greatful for any assistance.

    Thanks

  2. #2
    cowboy is offline Competent Performer
    Windows XP Access 2003
    Join Date
    Jan 2010
    Posts
    291
    Try a query or vb code that loops until true and then exits sub from there.

  3. #3
    NTC is offline VIP
    Windows Vista Access 2007
    Join Date
    Nov 2009
    Posts
    2,392
    do a query for value 0 - that gives you just the ok records. call this QueryOK.

    then make another query - using QueryOK as the source - and make it an aggregate query ....look for the epsilon greek E icon....set it to GroupOn Sample and set the date field to Max.

  4. #4
    Vikki is offline Novice
    Windows XP Access 2003
    Join Date
    Jan 2010
    Location
    Shropshire, UK
    Posts
    19
    I'll give it a go! cheers.

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

Similar Threads

  1. sub-reports and columns
    By blg in forum Reports
    Replies: 0
    Last Post: 02-21-2009, 11:11 PM
  2. Help with reports
    By geetha001 in forum Access
    Replies: 0
    Last Post: 01-21-2009, 08:45 AM
  3. Charts in Reports
    By arthura in forum Reports
    Replies: 0
    Last Post: 01-09-2009, 07:16 AM
  4. Printing Reports....
    By Danny Christie in forum Reports
    Replies: 1
    Last Post: 12-06-2006, 05:51 PM
  5. Need Help on reports
    By MeehPhill in forum Reports
    Replies: 3
    Last Post: 07-31-2006, 11:51 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