Results 1 to 3 of 3
  1. #1
    hinkwale is offline Novice
    Windows XP Access 2007
    Join Date
    Dec 2014
    Posts
    18

    Validation Rules

    Hello, please help with the validation rules i've been struggling with for days.


    I'm trying to apply some validation rules to the db attached but i'm getting the following error message when attempting to put a validation rule on the following tables: (invalid sql syntax – cannot use multiple columns in a column-level CHECK constraint)
    Tables: PrimaryFindingOwner, SecondaryOwner, TargetRemediationDate, FindingID, RecID, FindingRemediationDate.
    Please help with the error cs i'm clueless as to how to fix this.
    Please see attached file for the problems i'm facing with validation rules. There's a spreadsheet with rules i'm getting an error when vaidating the db tables.

    Thanks

  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,929
    You keep creating new threads on same topic instead of continuing discussion in existing thread with a new post. Please don't do that.

    I have reviewed your files and not making sense. You need to describe a specific issue and your attempts IN A THREAD POST. What is the exact Validation Rule expression you tried for the TargetRemediationDate field?

    I never set Validation Rule in table.
    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
    Rawb is offline Expert
    Windows 7 64bit Access 2010 32bit
    Join Date
    Dec 2009
    Location
    Somewhere
    Posts
    875
    Quote Originally Posted by hinkwale View Post
    Hello, please help with the validation rules i've been struggling with for days.
    I'm trying to apply some validation rules to the db attached but i'm getting the following error message when attempting to put a validation rule on the following tables: (invalid sql syntax – cannot use multiple columns in a column-level CHECK constraint)
    Tables: PrimaryFindingOwner, SecondaryOwner, TargetRemediationDate, FindingID, RecID, FindingRemediationDate.
    Please help with the error cs i'm clueless as to how to fix this.
    Please see attached file for the problems i'm facing with validation rules. There's a spreadsheet with rules i'm getting an error when vaidating the db tables.

    Thanks
    You're trying to use column validation rules to check data against other columns. You can't do that. You can only compare data against columns in TABLE validation rules. Also, you're using the wrong terms which makes understanding your problem and how to solve it very difficult.

    It looks like you're trying to add validation for the following:
    Table: E2E Finding and Recommendations
    Columns: PrimaryFindingOwner, SecondaryOwner, TargetRemediationDate, FindingID, RecID, FindingRemediationDate

    What specific validation rules are you trying to set up?

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

Similar Threads

  1. Validation Rules Help
    By Troop in forum Access
    Replies: 11
    Last Post: 03-05-2013, 01:26 PM
  2. Field rules/validation rules
    By sk88 in forum Access
    Replies: 14
    Last Post: 02-26-2012, 01:03 PM
  3. troubles with validation rules
    By focosi in forum Access
    Replies: 4
    Last Post: 08-02-2011, 10:46 AM
  4. Question about Validation Rules
    By WilsonsW in forum Access
    Replies: 1
    Last Post: 04-18-2011, 05:06 PM
  5. Validation Rules
    By esglover in forum Database Design
    Replies: 1
    Last Post: 07-23-2010, 08:02 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