Results 1 to 3 of 3
  1. #1
    Join Date
    Jul 2013
    Posts
    16

    Error evaluating CHECK constraint.'in the validation rule

    For values that are larger than $100,000, an error message comes out saying "Error evaluating CHECK constraint in the Initial Response


    Error 'Error evaluating CHECK constraint.'in the validation rule




    when entered commission in field comm% if total go above 100,000 it shows error


    Example in record # 4 enter value 0.15 in field comm% out put in field expected comm 187,096.65
    Attached Files Attached Files

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,816
    Should avoid spaces and special characters/punctuation in naming convention (underscore is exception). Better would be CommPct or Comm_Pct.

    That field is set as Text type and should be Number Double (or maybe Decimal - never used it). I had to delete the table validation rule to change the data type of the field and allow data entry into the field.

    That expression doesn't really make sense as a validation rule anyway.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    Join Date
    Jul 2013
    Posts
    16
    @June7 ...Thanks ...your reply resolved my issue ,....... I always trust you all, I never went without resolution from this forum Thanks again...

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

Similar Threads

  1. Validation Rule
    By Sanjo in forum Forms
    Replies: 2
    Last Post: 12-10-2013, 11:02 PM
  2. Validation Rule
    By Megan in forum Access
    Replies: 1
    Last Post: 11-05-2010, 09:45 AM
  3. Validation Rule
    By Christopher in forum Forms
    Replies: 15
    Last Post: 04-20-2010, 06:05 AM
  4. Validation Rule
    By smitstev in forum Access
    Replies: 5
    Last Post: 06-30-2009, 09:58 AM
  5. Validation Rule
    By mistaken_myst in forum Database Design
    Replies: 2
    Last Post: 10-29-2007, 02:08 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