Results 1 to 6 of 6
  1. #1
    JoeCson is offline Novice
    Windows 7 64bit Access 2013 64bit
    Join Date
    Feb 2017
    Location
    Denver, CO
    Posts
    2

    Split database not recognizing data validation rules

    I have a database with a validation rule "Like "T##[NS]" in a text data field with a data entry form front end. In a stand alone database the data entry form works fine

    I then split the database. When I try to enter the data I get the following error:

    One or more values are prohibited by the validation rule 'Like "T##[NS]" set for Pool.Township'. Enter a value that the expression for this field can except.



    Why does the validation rule work stand alone and has an error when the database is split. I do have read/write privileges to the directory with the back-end database

    thanks

    Joe

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,524
    What is the backend?
    # works for SQL server,but not in Access.
    Access uses *.

  3. #3
    HiTechCoach's Avatar
    HiTechCoach is offline MS MVP - Access Expert
    Windows 10 Access 2013 32bit
    Join Date
    Jul 2010
    Location
    Oklahoma, USA
    Posts
    702
    Quote Originally Posted by JoeCson View Post
    I have a database with a validation rule "Like "T##[NS]" in a text data field with a data entry form front end. In a stand alone database the data entry form works fine

    I then split the database. When I try to enter the data I get the following error:

    One or more values are prohibited by the validation rule 'Like "T##[NS]" set for Pool.Township'. Enter a value that the expression for this field can except.

    Why does the validation rule work stand alone and has an error when the database is split. I do have read/write privileges to the directory with the back-end database

    thanks

    Joe
    Joe,

    Where are you dong the validation, table or form?

  4. #4
    JoeCson is offline Novice
    Windows 7 64bit Access 2013 64bit
    Join Date
    Feb 2017
    Location
    Denver, CO
    Posts
    2
    I am doing the validation on the table.

  5. #5
    aytee111 is offline Competent At Times
    Windows 10 Access 2013 64bit
    Join Date
    Nov 2011
    Location
    Nomad
    Posts
    3,936
    Don't know why it doesn't work on split. It is generally accepted, however, as a bad idea to do things like this on tables, you can put it on the form field instead.

  6. #6
    HiTechCoach's Avatar
    HiTechCoach is offline MS MVP - Access Expert
    Windows 10 Access 2013 32bit
    Join Date
    Jul 2010
    Location
    Oklahoma, USA
    Posts
    702
    Quote Originally Posted by JoeCson View Post
    I am doing the validation on the table.

    Thank for he update. I will have to test to see if it will work.

    FWIW: I start ever Access application split from the start. I do all my validation at the front end level to reduce traffic to the back end. It also allows me to give better feedback to the user.

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

Similar Threads

  1. Replies: 27
    Last Post: 06-06-2013, 04:31 AM
  2. Validation Rules Help
    By Troop in forum Access
    Replies: 11
    Last Post: 03-05-2013, 01:26 PM
  3. Using Validation rules to restrict certain types of data entry.
    By Long Tom Coffin in forum Database Design
    Replies: 3
    Last Post: 07-23-2012, 10:38 AM
  4. Field rules/validation rules
    By sk88 in forum Access
    Replies: 14
    Last Post: 02-26-2012, 01:03 PM
  5. Textbox data validation rules.....
    By smorelandii in forum Access
    Replies: 1
    Last Post: 02-01-2011, 09:52 PM

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