Results 1 to 3 of 3
  1. #1
    matthewa is offline Novice
    Windows 8 Access 2013
    Join Date
    Mar 2015
    Posts
    2

    Help Limiting the Number of entries a specific Client can add to a table

    Hello,

    I am working on a database for work and I'm not sure how to fix it. I have intermediate skills so this may not be that hard.



    For my database the business has Clients who they conduct Needs Assessments for, but they only conduct 3 needs assessments.

    I have a Needs Assessment table with Client ID as the foreign key. Does anyone know how I can limit the number of times a Client ID shows up in the foreign key field to three? Any help would be greatly appreciated. Thank you.

  2. #2
    rpeare is offline VIP
    Windows XP Access 2003
    Join Date
    Jul 2011
    Posts
    5,442
    Are you using bound or unbound forms?

    I think it's doable with either but, for instance on an unbound form you can count the number of records before you even start and disable data entry if there are three records and only allow editing of one of the three records in the database.

    The method you use depends really on how you've designed your form.

  3. #3
    matthewa is offline Novice
    Windows 8 Access 2013
    Join Date
    Mar 2015
    Posts
    2
    Thanks for your help, I appreciate it. I just ended up putting all the records in forms so it worked out.

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

Similar Threads

  1. Replies: 3
    Last Post: 05-30-2014, 11:18 AM
  2. Replies: 1
    Last Post: 07-20-2012, 05:22 PM
  3. Replies: 1
    Last Post: 07-26-2011, 06:10 AM
  4. limiting number?
    By vespid in forum Database Design
    Replies: 1
    Last Post: 01-10-2011, 10:34 PM
  5. Replies: 1
    Last Post: 10-22-2010, 01:29 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