Results 1 to 8 of 8
  1. #1
    ramkiller1 is offline Novice
    Windows 8 Access 2013
    Join Date
    Jul 2014
    Posts
    4

    Inventory of Pcs


    I think I am doing this wrongly. Can someone please correct me.Click image for larger version. 

Name:	Screenshot_4.png 
Views:	21 
Size:	46.6 KB 
ID:	17755

  2. #2
    Xipooo's Avatar
    Xipooo is offline Sr. Database Developer
    Windows 8 Access 2013
    Join Date
    Jan 2014
    Location
    Arizona
    Posts
    332
    What exactly are you trying to do?

    I don't see any foreign keys.

  3. #3
    ramkiller1 is offline Novice
    Windows 8 Access 2013
    Join Date
    Jul 2014
    Posts
    4
    I'm bad at access. I am trying to make a database of all my computers. Those are the tables that I sent before. I'm not sure what is the best way to implement it and how the relationships would go.

  4. #4
    ramkiller1 is offline Novice
    Windows 8 Access 2013
    Join Date
    Jul 2014
    Posts
    4
    Quote Originally Posted by Xipooo View Post
    What exactly are you trying to do?

    I don't see any foreign keys.

    At first I was thinking to have every index of every table in the System Information Table to make a relationship but then I wondered if I should just make a field in every table that was the same so that I can just choose what PC Number on each table to represent one PC.

  5. #5
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows 7 64bit Access 2010 32bit
    Join Date
    Aug 2013
    Posts
    7,862
    I think I would rename the table, System Information, to tblBox and add to it an FK for each of the other tables.

    Advise no spaces or special characters in names. Advise not to use lookup fields in tables. Advise using descriptive names for your PK fields.

  6. #6
    ssanfu is offline Master of Nothing
    Windows XP Access 2000
    Join Date
    Sep 2010
    Location
    Anchorage, Alaska, USA
    Posts
    9,664
    I would agree with ItsMe..... but would add:.... Do not use multi-value fields.

    Special characters would be like "Model #". Instead use "ModelNum"

    You have "ID" as the PK of 9 tables. It would be better to use "MotherboardID", "CPU_ID", "MonitorID", "HardDriveID" (Notice no spaces).
    For foreign key fields I would use something like "PCNumber_FK".

    If you want to separate words, instead of spaces, use the underscore "_".

    I do not see fields for dates. Do you want to know WHEN a monitor was changed? You would need to add a date field.

  7. #7
    ramkiller1 is offline Novice
    Windows 8 Access 2013
    Join Date
    Jul 2014
    Posts
    4
    Quote Originally Posted by ssanfu View Post
    I would agree with ItsMe..... but would add:.... Do not use multi-value fields.

    Special characters would be like "Model #". Instead use "ModelNum"

    You have "ID" as the PK of 9 tables. It would be better to use "MotherboardID", "CPU_ID", "MonitorID", "HardDriveID" (Notice no spaces).
    For foreign key fields I would use something like "PCNumber_FK".

    If you want to separate words, instead of spaces, use the underscore "_".

    I do not see fields for dates. Do you want to know WHEN a monitor was changed? You would need to add a date field.
    Cool thanks for the info. What does "FK" stand for. Also, what do you think of my relationships. Is there a better way?

  8. #8
    ssanfu is offline Master of Nothing
    Windows XP Access 2000
    Join Date
    Sep 2010
    Location
    Anchorage, Alaska, USA
    Posts
    9,664
    What does "FK" stand for
    PK = primary key
    FK = foreign key


    what do you think of my relationships. Is there a better way?
    Better way???? It depends... I don't know your requirements. Are you trying to model a paper process?

    I don't see anything major wrong with the structure (see above post #6) or the relationships.

    Do you really need to track the motherboards? How many times will the motherboards be changed? Same questions for the CPU.
    It is up to you to decide what needs to be tracked and how much data you want to enter.....

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

Similar Threads

  1. Replies: 1
    Last Post: 02-21-2013, 12:18 AM
  2. Products Inventory Dilema,Add To Inventory
    By burrina in forum Forms
    Replies: 3
    Last Post: 12-02-2012, 12:10 PM
  3. inventory
    By eiron in forum Access
    Replies: 4
    Last Post: 07-26-2012, 10:17 AM
  4. Inventory Help!!!
    By pipman in forum Access
    Replies: 8
    Last Post: 01-03-2012, 03:44 PM
  5. Inventory
    By Nemacol in forum Access
    Replies: 1
    Last Post: 09-13-2011, 08:24 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