Results 1 to 14 of 14
  1. #1
    JamieB is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Oct 2013
    Posts
    3

    Newbie Pre-Design Question

    Hi All-
    I poked around existing threads for awhile and don't really see what I'm looking for. I appreciate any info that can be offered... and I apologize for my ignorance in database design and operation.



    I have been reading Access 2010, The Missing Manual by Matthew McDonald to try and get a foundational understanding of how to approach database design. To that end, I have obtained plenty of understanding to get me going. The one point that troubles me, though, is the recurring sentiment that databases don't like repeated data. I'm trying to design a database to track semi-annual store inspections. By it's nature, this will mean some info will be repeated throughout the database (i.e. store number, region, inspection points, etc.). Granted, I'm planning on allowing the AutoNumber to designate each individual inspection as unique. I guess my question is this: does that provide sufficient uniqueness to overcome the fact that many, many of the fields will have recurring information?

    I just wanted to proceed with care given that this is my first foray into database design.

    Thank you in advance.

  2. #2
    Dal Jeanis is offline VIP
    Windows 7 32bit Access 2010 32bit
    Join Date
    May 2013
    Location
    Dallas TX
    Posts
    1,742
    Okay, repeating a foreign Key field is not repeating information. The Store table will have a unique Key for each store, your Employee (or Inspector) table will have a unique key for each employee.

    Those keys will show up as a DATA field on each inspection record, to show WHO did the inspection WHERE. There will also, obviously, be a date field and so on. What you won't do is unnecessarily duplicate the Inspector's name, phone number, birthdate and so on on the inspection record.

    Pop over to Access MVP Roger Carlson's site at http://www.rogersaccesslibrary.com/ and read his tutorials on database design. They're short, direct, and easy to read. Do a couple of the design exercises. After an hour or two of that, and you'll have a lot better overall understanding of the technical data that you're reading in McDonald's book.

  3. #3
    ck4794 is offline Advanced Beginner
    Windows 8 Access 2013
    Join Date
    Oct 2013
    Posts
    80
    hey friend how is this working out for you? you sounded pretty lost. i would've just offered up information but i don't want to confuse you more, so is there anything you're having trouble with?

  4. #4
    JamieB is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Oct 2013
    Posts
    3
    Quote Originally Posted by ck4794 View Post
    hey friend how is this working out for you? you sounded pretty lost. i would've just offered up information but i don't want to confuse you more, so is there anything you're having trouble with?

    Overwhelmed is more like it. I've always had an IT department, so I thought databases just built themselves once you submit a help ticket.

    Seriously, I've taken on a mid-life career change and am trying to learn database design on top of it. I may have just been over-thinking a little... certainly a character trait of mine. To make matters worse, I won't have actual data to populate until next week when I start trying to test this database in tandem with the current scheme in excel. I'll get it, but there are sure to be some growing pangs. There's no pressure... I'm doing this for myself, really. I got them away from doing paper versions, so anything else is just gravy.

    What I have so far is a one-to-many relationship. I have the "one" as a unique inspection number (PK) and have it as a foreign key in all the other tables. I'll know shortly if it'll work. May need tweaking, but therein lies the learning, right?

    Once I can see it with real data, I may be able to ask an intelligible question. But I do appreciate you asking.

  5. #5
    Dal Jeanis is offline VIP
    Windows 7 32bit Access 2010 32bit
    Join Date
    May 2013
    Location
    Dallas TX
    Posts
    1,742
    I may have just been over-thinking a little... certainly a character trait of mine.
    Welcome to the forum. You'll fit right in.

    Do the tutorials over at Roger's Access library, and you'll feel more comfortable about your progress.

    The one (non-obvious) rule I tell beginners is this - if there's a choice between methods, and the experts tell you one way, but you fully understand a different way, do it the way you understand. You're the one that has to support the thing.

    Do try to understand the experienced guy's (gal's) way, but if you can't GET it, you're better off using code where you know what each line actually does.

  6. #6
    JamieB is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Oct 2013
    Posts
    3
    Quote Originally Posted by Dal Jeanis View Post
    The one (non-obvious) rule I tell beginners is this - if there's a choice between methods, and the experts tell you one way, but you fully understand a different way, do it the way you understand.
    Seems like sage advice. Thank you.

  7. #7
    ck4794 is offline Advanced Beginner
    Windows 8 Access 2013
    Join Date
    Oct 2013
    Posts
    80
    Quote Originally Posted by JamieB View Post
    Overwhelmed is more like it. I've always had an IT department, so I thought databases just built themselves once you submit a help ticket.
    You just got promoted

    Quote Originally Posted by JamieB View Post
    Once I can see it with real data, I may be able to ask an intelligible question. But I do appreciate you asking.
    In this phase I usually have a few "test" records with the kind of data i think i'll be getting. Problem is just make sure they're all gone when you publish. more importantly if you do it in the middle of an update after you have your data. i.e. getting frustrated cause it's not working, creating profiles with inappropriate names, which i won't mention here, forgetting to take them out, and saying "here boss it's all done"

  8. #8
    Dal Jeanis is offline VIP
    Windows 7 32bit Access 2010 32bit
    Join Date
    May 2013
    Location
    Dallas TX
    Posts
    1,742
    creating profiles with inappropriate names, which i won't mention here, forgetting to take them out, and saying "here boss it's all done
    Civilians have no idea how many times that happens...

  9. #9
    ck4794 is offline Advanced Beginner
    Windows 8 Access 2013
    Join Date
    Oct 2013
    Posts
    80
    what do you mean civilians haha?

  10. #10
    Dal Jeanis is offline VIP
    Windows 7 32bit Access 2010 32bit
    Join Date
    May 2013
    Location
    Dallas TX
    Posts
    1,742
    Regular people. The uninitiated. People who don't "get" Dilbert. In Rennaisance Faires, they're called mundanes. In the military, civilians. In Scientology (or old England), wogs. At carnivals, rubes. At Gypsy gatherings, gorgios. And so on...

    In this case, those who are blissfully ignorant of the dark underbelly of technology.... Muwahahahahahaaaaa

  11. #11
    ck4794 is offline Advanced Beginner
    Windows 8 Access 2013
    Join Date
    Oct 2013
    Posts
    80
    Quote Originally Posted by Dal Jeanis View Post
    Regular people. The uninitiated. People who don't "get" Dilbert. In Rennaisance Faires, they're called mundanes. In the military, civilians. In Scientology (or old England), wogs. At carnivals, rubes. At Gypsy gatherings, gorgios. And so on...

    In this case, those who are blissfully ignorant of the dark underbelly of technology.... Muwahahahahahaaaaa
    in my case military haha. and now that you mention it... dilbert, yes... 'nuff said.

  12. #12
    ck4794 is offline Advanced Beginner
    Windows 8 Access 2013
    Join Date
    Oct 2013
    Posts
    80
    so mr. initiated, i'm gonna hijack this guy's thread, and i'm gonna justify it by saying "maybe he'll get an idea". so i chose to operate with a main form for a person's "profile", and to view their respective documents via subform. nothing too complicated, and not really too relevant now that i think about it. but anyways, i chose to use the pop-up method of adding a new document (read attachment). i can't for the life of me seem to figure out how to make the profile form requery after i close the upload pop up. any suggestions?

    also i work in macro builder, and query design windows. when it comes to code, i think i qualify as "initiated", but not much more than that.

  13. #13
    Dal Jeanis is offline VIP
    Windows 7 32bit Access 2010 32bit
    Join Date
    May 2013
    Location
    Dallas TX
    Posts
    1,742
    Yeah, that deserved a new thread. Make one and I'll comment there.

  14. #14
    ck4794 is offline Advanced Beginner
    Windows 8 Access 2013
    Join Date
    Oct 2013
    Posts
    80
    oh all right... i posted it over in the forms section...

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

Similar Threads

  1. Newbie with database design question one to many
    By djmcats in forum Database Design
    Replies: 9
    Last Post: 10-02-2013, 01:40 PM
  2. design help, clueless newbie seeks help
    By victoriabitter in forum Database Design
    Replies: 3
    Last Post: 09-08-2011, 09:02 AM
  3. Form Design Question with DLookup (newbie)
    By wongc61 in forum Access
    Replies: 4
    Last Post: 07-08-2011, 03:22 PM
  4. Newbie needs help with survey design
    By Buakaw in forum Database Design
    Replies: 5
    Last Post: 01-20-2011, 10:20 PM
  5. newbie needs design help
    By ashiers in forum Database Design
    Replies: 0
    Last Post: 09-13-2008, 07:05 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