Results 1 to 4 of 4
  1. #1
    westphi is offline Novice
    Windows 2K Access 2003
    Join Date
    Mar 2011
    Posts
    3

    Technical Prob for Newb...

    I apologize in advance for my newbie-ness to MS Access, but I am trying to design a database for a school project and have no background in MS Access other than a book I bought and things I've read on the interweb (that's a joke ). And am not having much luck. Hopefully this will help.



    Anyways, it seems I'm having a basic technical problem. I know all the tables I need to fill, but am having an issue trying to create the relationships between the various tables. Basically it is a company employee database that is looking to monitor various training(s) needed by each particular job-title. So I created an "employee table" with all their personal info and am now trying to create a 1-to-many relationship with the "training table" -which lists all the various training types and several other tables.

    My question is in regards to the best way to create the 1-to-many relationships of the various tables to the employee table. My understanding is that way to do this is use an "auto number" text format in the "parent" table and then use the number-format in the "child" table to create the relationship-link? Is this a correct assumption?

    However, when I use the autonumber text-type in one parent table, and then start another table that I want to link to the "employee table" and use the autonumber text-type in another "parent table" again the same numbers are given and so there is no "unique" number to distinguish between the various tables.

    Is there a way around this? I read something about creating a query to start the autonumbering at a different number, but that seems excessive? I also thought about using the "random value" text type under autoformat, but then I am given big long numbers that would need to be cut and pasted to create the relationships for each field -and that seems a bit tedious. Is there a simpler way? Is the autonumber-to-number text-type the only way to create a relationship? Any advice would be greatly appreciated.

    -Cheers!

  2. #2
    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,848
    Autonumber is not a text type.

    There is info on database design here
    http://www.rogersaccesslibrary.com/forum/topic238.html

    Good Access reference
    http://www.accessmvp.com/strive4peace/

    Sample data models
    http://www.databaseanswers.org/data_models/index.htm

  3. #3
    westphi is offline Novice
    Windows 2K Access 2003
    Join Date
    Mar 2011
    Posts
    3
    Quote Originally Posted by orange View Post
    Autonumber is not a text type.

    There is info on database design here
    http://www.rogersaccesslibrary.com/forum/topic238.html

    Good Access reference
    http://www.accessmvp.com/strive4peace/

    Sample data models
    http://www.databaseanswers.org/data_models/index.htm
    Sorry, I meant: "data type".

    And thanks! I will definitely review these links.

  4. #4
    westphi is offline Novice
    Windows 2K Access 2003
    Join Date
    Mar 2011
    Posts
    3

    Junction Tables???

    One last question is in regards to "junction tables" -which can be used to "help" organize the many-to-many relationship. Any advice in regards to creating relationships between junction tables and their respective identifying tables? Will I need a primary key and does there need to be a certain data-type for the particular fields in the junction table? Thanks again!

    -Cheers!

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

Similar Threads

  1. Newb getting confused.
    By Iggy in forum Access
    Replies: 10
    Last Post: 03-15-2011, 08:50 PM
  2. Replies: 1
    Last Post: 07-27-2010, 07:06 AM
  3. Replies: 1
    Last Post: 01-30-2010, 01:47 PM
  4. Newb Question
    By smokeyvol in forum Access
    Replies: 0
    Last Post: 01-14-2009, 08:28 AM
  5. noob prob, generating next report
    By flash319 in forum Reports
    Replies: 2
    Last Post: 08-04-2008, 03:10 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