Results 1 to 7 of 7
  1. #1
    Debbie_P's Avatar
    Debbie_P is offline Novice
    Windows 7 64bit Access 2013
    Join Date
    Jan 2015
    Location
    Mississauga
    Posts
    6

    Question Can I do this - N00B questions - please help

    I am working my way through learning Access, but am very new at it. I have an idea of what I want to do, now I just need to know if I can



    I have one table with a list of schools, each school has a unique name and has an individual number, which is the primary key right now.
    I have another table for tracking incident reports by date neither table is related to the other right now...that being said.

    I would like to create something, which I can track a number of items sent to each school by date. for example. I would like to have an entry form where I can choose the school name from a drop down then enter the date and # of pens, # of pencils, and budget code.

    Then do a report showing School Name, Month/yr, Summary of Pens, Summary of Pencils

    So what do I do to use the school name from one table then have it record individual records and summarize on a report with the school name only showing once, the month, and the total of the monthly entries.

    I know I'm probably overthinking this, so I'm hoping someone can help, I have like 160 schools and do not want to create a table for each school

    Thank you to anyone that can help me

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,956
    What are the incident reports associated with if not schools?

    Have another table for tracking 'transactions' of distributing supply items. Do you have a table of supply items to choose?

    This is called a many-to-many relationship. Each school can have many supply items and each supply item can associate with many schools.

    Conventional options for data entry would be:

    1. one form bound to the third table with comboboxes to select supplier and product

    2. main form bound to Suppliers and subform bound to third table with combobox to select product

    3. main form bound to Products and subform bound to third table with combobox to select supplier

    Review https://support.office.com/en-US/Art...rs=en-US&ad=US. No code required.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    Debbie_P's Avatar
    Debbie_P is offline Novice
    Windows 7 64bit Access 2013
    Join Date
    Jan 2015
    Location
    Mississauga
    Posts
    6

    Not quite must have explained wrong

    The product is the same every time, it just the amount that changes

    So do I create a table that has school name that I can pick up from table one then just create a new record for each date with the items?

    Thank you for your answer

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,956
    What do you mean the product is the same every time? You have pens, pencils, paper - those are different products. Consider:

    tblSchools
    SchoolID
    SchoolName

    tblProducts
    ProductID
    ProductName

    tblTransactions
    TransDate
    SchoolID
    ProductID
    Quantity
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  5. #5
    Debbie_P's Avatar
    Debbie_P is offline Novice
    Windows 7 64bit Access 2013
    Join Date
    Jan 2015
    Location
    Mississauga
    Posts
    6
    Quote Originally Posted by June7 View Post
    What do you mean the product is the same every time? You have pens, pencils, paper - those are different products. Consider:

    tblSchools
    SchoolID
    SchoolName

    tblProducts
    ProductID
    ProductName

    tblTransactions
    TransDate
    SchoolID
    ProductID
    Quantity
    Okay, so I have the first table with all the school id information, do I make the other two tables relational to the first table? Or the third table relational to the tblschools & tblproducts?

    thank you for all your help

  6. #6
    orange's Avatar
    orange is online now Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,740
    Here is a tutorial that will show you how to design tables and relationships to support a business description.
    You will save yourself a lot of frustration, learn relational concepts and speed up your learning by working through the tutorial.

    The key is to learn about database, then learn about Access.

    Good luck.

  7. #7
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,956
    As denoted by the primary and foreign key fields, the first two tables are related to the third table.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

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

Similar Threads

  1. Database Design basics 4 n00b
    By OTOTO in forum Database Design
    Replies: 7
    Last Post: 07-08-2014, 09:34 AM
  2. A few general questions...
    By Daryl2106 in forum Access
    Replies: 3
    Last Post: 02-29-2012, 09:57 PM
  3. QBF Questions
    By brandonze in forum Forms
    Replies: 2
    Last Post: 08-04-2011, 01:49 PM
  4. Another n00b, asking for help
    By IrishKelevra in forum Database Design
    Replies: 2
    Last Post: 09-27-2010, 08:00 AM
  5. Few N00b Questions
    By lucas.robb in forum Database Design
    Replies: 2
    Last Post: 09-20-2010, 04:58 PM

Tags for this Thread

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