Results 1 to 5 of 5
  1. #1
    greece329 is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jul 2014
    Posts
    3

    Question Setting up validation for a forein key where primary key is an autonumber

    How would I set up the validation for a foreing key field when the forein key is a Primary Key as an auto number in another table? Or do I not have to set up a validation?

    Designer (DesNum, LastName, FirstName) .... the DesNum is set as Autofill Number without repeats so every designer has their own code.
    Collection (Collection, DesNum, Description)



    Any help would be greatly appreciated.

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,652
    I would use a combo box with limit to list set to yes.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    greece329 is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jul 2014
    Posts
    3
    Thnk you very much Paul. I was wondering if that is the way I should go with it or not. I will do that.
    Cheers,
    Laura

  4. #4
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,652
    Happy to help Laura, and welcome to the site by the way!
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  5. #5
    greece329 is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jul 2014
    Posts
    3
    Thank you Paul. I look forward to learning much more and getting to know everyone on here.

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

Similar Threads

  1. Primary Key Autonumber
    By data808 in forum Access
    Replies: 19
    Last Post: 07-15-2014, 06:51 AM
  2. AutoNumber Primary Key until manually entered
    By anonymust in forum Database Design
    Replies: 3
    Last Post: 05-11-2014, 08:34 AM
  3. Using AutoNumber primary key on sorted column
    By grkatz823 in forum Access
    Replies: 7
    Last Post: 03-04-2013, 03:47 PM
  4. Sequential autonumber primary key
    By JackCampion in forum Access
    Replies: 0
    Last Post: 09-17-2012, 05:07 PM
  5. Replies: 2
    Last Post: 04-30-2010, 09:43 AM

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