Results 1 to 4 of 4
  1. #1
    cps6568 is offline Novice
    Windows XP Access 2007
    Join Date
    Jan 2010
    Posts
    4

    Validation rules question


    I have a table, that has multiple occurrances of job title, job duties, and % time spent on each duty. For each title I want to make sure the total of the %'s do not exceed 100%. Can I do that within the table somehow, in the properties, if people enter data through the DataSheet view? If not, then through a form? And how? Thank you.

  2. #2
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 Access 2007
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    It sounds like you a creating a normalization problem. I would consider each of those values in a different record of the same table in your design.

  3. #3
    cps6568 is offline Novice
    Windows XP Access 2007
    Join Date
    Jan 2010
    Posts
    4
    Quote Originally Posted by RuralGuy View Post
    It sounds like you a creating a normalization problem. I would consider each of those values in a different record of the same table in your design.
    I'm not sure what a normalization problem is. Job titles are validated/limited by another table, also job duties. There is a 1:many relationship betwen them (1 job:many duties). The % time value is related to job duties. I want to make sure they don't exceed 100% for the rollup to each job title.

  4. #4
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 Access 2007
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Your description of the table violates the 1st Normal form, repeating groups. All entry to your tables should be through forms and *not* directly in tables. Access has no triggers in the tables so no real validation could take place there. What you want to achieve can be done with a MainForm and a SubForm.

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

Similar Threads

  1. Validation Rule
    By robomose in forum Access
    Replies: 1
    Last Post: 09-09-2009, 05:59 AM
  2. Validation problems...
    By dbDamo in forum Forms
    Replies: 1
    Last Post: 05-15-2009, 12:43 PM
  3. Validation on identical text question
    By edrahl in forum Database Design
    Replies: 1
    Last Post: 02-26-2008, 09:38 AM
  4. Validation Rule
    By mistaken_myst in forum Database Design
    Replies: 2
    Last Post: 10-29-2007, 02:08 PM
  5. Validation on import
    By andy_42 in forum Import/Export Data
    Replies: 1
    Last Post: 10-23-2006, 03:52 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