Results 1 to 9 of 9
  1. #1
    rgreen is offline Novice
    Windows 8 Access 2013
    Join Date
    Feb 2015
    Posts
    4

    Reports


    Hello. I have met a stumbling block. Any help is greatly appreciated. My issue is creating a report that will display information about all employees whose last donations were >= 58 days ago. ??

  2. #2
    orange's Avatar
    orange is offline Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,850
    Readers need to know more about your tables and relationships, and what your database is about.
    You mention Employees and Donations - that's a start.

    Have you tried getting the info you need via a query?
    Then use that query as the recordsource of your report.

  3. #3
    rgreen is offline Novice
    Windows 8 Access 2013
    Join Date
    Feb 2015
    Posts
    4

    Access Donations Database

    Okay, here's what I have so far.Blood Donor1.accdb

  4. #4
    orange's Avatar
    orange is offline Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,850
    You should have an EmployeeTable and a BloodDonation table
    Employee table like you have.

    But the donations should be something like

    DonationId PK
    DonationDate
    DonorId <--------FK to Employee

    The tables have this (1 to Many) relationship

    Employee----> BloodDonation

    You know the Bloodtype from the Employee table. You set up the relationship on EmployeeID and DonorID
    You do not record the FirstName LastName etc in the BloodDonation table

    You can have as many Donations as you want. When you name fields Donation1, Donation2... it's a flag saying this is probably not normalized(structured properly).

    You do NOT make firstname the primary key of a table. You want a field whose value will be unique in every record in the table.

    Good luck.

  5. #5
    orange's Avatar
    orange is offline Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,850
    Here's a revised database.
    2 new tables MyEmployee and BloodDonation
    Append queries to Populate the tables
    Select query to show BloodDonationsByEmployee

    Look at the table structures, and the relationship in the relationship window.

    If you have not done so, spend 30-45 minutes with this tutorial. You'll learn more in that 45 minutes than in a month of "playing with access".

    Good luck.
    Attached Files Attached Files

  6. #6
    orange's Avatar
    orange is offline Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,850
    I'm expecting a response to the PM info here. You should work through the tutorial mentioned in previous post.

  7. #7
    rgreen is offline Novice
    Windows 8 Access 2013
    Join Date
    Feb 2015
    Posts
    4
    Thanks for the help Orange. I think I'm back on track now.

  8. #8
    orange's Avatar
    orange is offline Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,850
    Spend some time with that tutorial. It will put things into perspective.
    Post back with questions if they should arise.

  9. #9
    rgreen is offline Novice
    Windows 8 Access 2013
    Join Date
    Feb 2015
    Posts
    4
    Okay, I will. Thanks for your help.

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

Similar Threads

  1. Reports
    By sjackson in forum Reports
    Replies: 9
    Last Post: 08-05-2013, 12:23 PM
  2. Reports
    By sdc1234 in forum Access
    Replies: 1
    Last Post: 07-31-2013, 11:26 AM
  3. Convert Client Reports to Web Reports
    By need_help12 in forum Reports
    Replies: 0
    Last Post: 05-08-2012, 08:22 AM
  4. Reports w/ sub-reports very slow to open
    By vaikz in forum Reports
    Replies: 2
    Last Post: 02-27-2011, 08:41 AM
  5. Access Reports drop sub-reports
    By Kevin Ellis in forum Reports
    Replies: 0
    Last Post: 11-19-2010, 03:28 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