Results 1 to 8 of 8
  1. #1
    Johanb26 is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Nov 2012
    Posts
    25

    Designing a small lab database

    hi guys

    I am a 2nd year information system student and my brother owns a small water testing lab. at the moement they are using excel to capture the results of the tests, but the excel file they are using is over 16mb now just with text and its full of redundancy issues.

    I want to design a small database for him that will assist in keeping sample results and also minimize data redundancy.

    description of activities are:

    a waterplant can belong to only one client, but a client can be the foreman over many plants. each plant can have 3 different type of tests done on the plant. the tests can be done more than once a year each time providing different results. the results ofpast tests need to be remembered as well.

    the idea i have for the design is:

    Table1: customer
    id: (PK)
    customer details

    table2: waterplant
    id: (pk)
    waterplant serial : (pk)
    customer_id : (fk)

  2. #2
    Johanb26 is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Nov 2012
    Posts
    25
    sorry i am on my tab and struggling to type.

    will the above design be sufficient or do i need to add another table called waterplant_results.

    the waterplant entity will contain details about the plant and its test results.

  3. #3
    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,847
    A few questions:

    Your description was about Clients, but your table structure shows Customer. Are all Customers Clients and all Clients Customers or is there some significance to the different names you are using?
    You said "a waterplant can belong to one client" - it was important to mention that in your description, but I don't see it in your tables?
    You mentioned 3 different types of tests, but that is not shown in your tables???
    Tests can be done at varying frequency at each plant, and that does not appear in your tables??
    I don't see tests, test results or test results history in your set up?

    Have you looked at what exactly is stored in the current excel spreadsheet? Have you set up your tables based on the info (subjects) in the excel spreadsheet?
    Is your brother's business a money making operation? Do you have a plan to develop and test the database? And train whoever must be trained? Have you considered if and how you would convert the existing data(excel) into Access?

    These are just a few of the questions to consider when developing a database.

    Good luck with your project.

  4. #4
    Johanb26 is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Nov 2012
    Posts
    25
    hi Orange,

    sorry it was my mistake the client and customer is the same person.

    its not a money making company at the moment and converting their existing excel information into a db is for me to learn and just as a side project while university is closed at the moment.

    I have not really considered the other entities yet as I only thought about doing it today and wanted to find out if 2 entitoes will work, but you have given me a lot to think about.

    I also did not indicate everything on purpose as doing so is difficult with the tab.



    Quote Originally Posted by orange View Post
    A few questions:

    Your description was about Clients, but your table structure shows Customer. Are all Customers Clients and all Clients Customers or is there some significance to the different names you are using?
    You said "a waterplant can belong to one client" - it was important to mention that in your description, but I don't see it in your tables?
    You mentioned 3 different types of tests, but that is not shown in your tables???
    Tests can be done at varying frequency at each plant, and that does not appear in your tables??
    I don't see tests, test results or test results history in your set up?

    Have you looked at what exactly is stored in the current excel spreadsheet? Have you set up your tables based on the info (subjects) in the excel spreadsheet?
    Is your brother's business a money making operation? Do you have a plan to develop and test the database? And train whoever must be trained? Have you considered if and how you would convert the existing data(excel) into Access?

    These are just a few of the questions to consider when developing a database.

    Good luck with your project.

  5. #5
    Johanb26 is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Nov 2012
    Posts
    25
    sorry for the double post.

    I want to develop and test the database during my break, but just hoping to get some guidance before starting with the actual project. I will also be the one using the db to record info and if needed I will later teach somebody else.

  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,847
    It seems to me that you will need tables for the following (off the top of my head while typing)

    WaterPlants

    Customers

    Tests

    TestHistory

    You will need junction tables to deal with many to many relationships.

    eg

    Many WaterPlants have manyTests, so a junction table WaterPlantTest could contain

    WaterPlantTestId autonumber PK
    WaterPlantId
    TestId Green fields indicate unique composite index
    TestDate

    TestResult

    Good luck with your project.

  7. #7
    Johanb26 is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Nov 2012
    Posts
    25
    Hi Orange,

    Thanks for the input. When I get home I wilk start designing the db in visio is it possible that I can then upload here for you to comment/criticize on ?

  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,847

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

Similar Threads

  1. Need Help Building a small database
    By Darren in forum Access
    Replies: 1
    Last Post: 04-12-2012, 01:20 PM
  2. Designing a database for a log
    By neo651 in forum Database Design
    Replies: 3
    Last Post: 10-31-2011, 11:45 AM
  3. Employment Agency database small scale design Help
    By arrow in forum Database Design
    Replies: 4
    Last Post: 01-22-2010, 07:35 AM
  4. Need someone to develope a small database program for me
    By Cleaner in forum Database Design
    Replies: 4
    Last Post: 10-05-2009, 07:21 AM
  5. Best way to organize a small database of people?
    By Orabidoo in forum Database Design
    Replies: 1
    Last Post: 06-09-2009, 10:13 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