Results 1 to 4 of 4
  1. #1
    SingleSide is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Feb 2019
    Posts
    2

    Testing Data Base - structure to start me off

    Hi Folks,
    Have been surfing a few internet based places for info youtube, forums etc but am still struggling.
    I can do Access and have also done a bit of VBA over the years.
    What i want is a simple solution that requires little if any VBA.
    Infact none would be better!

    I am struggling with the database table structure and how the relationships might work.
    Basically what i have is when a FAILED test occurs i need to start logging it and also the remedial works when taks get done to try and repair the situation.
    Its a bit like snakes and ladders tho because if you get part of the way through from a time perspective and then you get a FAILED sample, you have to go back and do some more remedial works and test all over again.
    They seem to be looped but i just cant seem to get my head around how the hell i would start with my tables.


    And then....how many do i need without making it too complicated.

    Ultimately i will make a report from a query so that i can see what the status is with the FAILURES at each stage of the testing process.

    Any pointers or help in the right direction would help my significantly grey hair.

    See my jpeg of the flow chart if it helps.

    Cheers all
    Attached Thumbnails Attached Thumbnails Testing Database.jpg  

  2. #2
    Micron is offline Very Inert Person
    Windows 10 Access 2016
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    13,372
    Your flowchart is useful for describing the flow of a process, but might have little bearing on how to construct tables and relationships. In fact, I wouldn't let it influence the decisions too much.
    You don't need flags to denote failure if you have a date. If the date is the failure date, then its absence denotes a pass. You might get away with a flag for removal from service, but again, if a date is involved, you don't need that flag either. For each entity that you might have multiple records for, you need a separate table.
    Look at this from an entity/attribute relationship. If a test is an entity, then what are its attributes? sample ID, test date, test type, failure date? Why is this about failures instead of test outcome? You might have presented info that's a bit too far into the whole process; just saying that the entity might be the testing and not about failure.
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

  3. #3
    SingleSide is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Feb 2019
    Posts
    2
    Hi Micron,
    You are right, i keep looking at the flow chart for inspiration or solutions but i think its preventing me seeing the woods for the trees as they say.
    I will try and look at it from another perspective.
    Cheers for the reply.

  4. #4
    Micron is offline Very Inert Person
    Windows 10 Access 2016
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    13,372
    I often post these links for self proclaimed novices that might need tips on normalization (and maybe a bunch of other 'basic' stuff as well). Might help prevent future headaches.
    Normalization is paramount. Diagramming maybe not so much for some people.

    Normalization Parts I, II, III, IV, and V
    http://rogersaccessblog.blogspot.ca/...on-part-i.html
    and/or
    http://holowczak.com/database-normalization/

    Entity-Relationship Diagramming: Part I, II, III and IV
    http://rogersaccessblog.blogspot.ca/...ng-part-i.html

    How do I Create an Application in Microsoft Access?
    http://rogersaccessblog.blogspot.ca/...cation-in.html

    Important for success:
    One source about how to name things - http://access.mvps.org/access/general/gen0012.htm
    What not to use in names - http://allenbrowne.com/AppIssueBadWord.html
    About Auto Numbers
    - http://www.utteraccess.com/wiki/Autonumbers
    - http://access.mvps.org/access/general/gen0025.htm

    The evils of lookup fields - http://access.mvps.org/access/lookupfields.htm
    Table and PK design tips - http://www.fmsinc.com/free/newtips/primarykey.asp
    About calculated table fields - http://allenbrowne.com/casu-14.html

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

Similar Threads

  1. Replies: 7
    Last Post: 01-20-2015, 01:49 PM
  2. Replies: 4
    Last Post: 09-18-2014, 06:41 AM
  3. Replies: 1
    Last Post: 07-08-2014, 06:22 AM
  4. Normalized data structure denormalized for data entry.
    By elsuwi in forum Database Design
    Replies: 3
    Last Post: 06-09-2012, 09:53 PM
  5. access data base help
    By janu1234 in forum Access
    Replies: 2
    Last Post: 04-19-2012, 01:30 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