Results 1 to 3 of 3
  1. #1
    WORKHEADACHE is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Jul 2018
    Posts
    2

    Editing a validation rule?

    Hi peeps,



    I have an existing database that appears to have a validation rule on a control field.

    The error message I am getting states : Click image for larger version. 

Name:	Validation rule.JPG 
Views:	10 
Size:	33.3 KB 
ID:	34660

    I understand from this rule stipulates that the maximum number of digits in this field is 8. Up until now that has been fine, but I now need to increase that to 10 as some system changes elsewhere are now generating longer numbers.

    I want to edit this validation rule, but when I go to the property sheet for this field, and look in the validation rule field, it is blank. I've tried inserting a new rule into the validation rule field, but when I test it, it still limits me by the old rule, which doesn't seem to exist anywhere.

    Click image for larger version. 

Name:	property sheet.JPG 
Views:	10 
Size:	33.6 KB 
ID:	34661

    I have been googling around but I can't find any answers as to why the validation rule doesn't appear here. There is lots on creating rules, but almost nothing on editing existing ones. Can someone help me solve this or get around it? Is there somewhere else I should be looking for this rule? Why doesn't it appear here?

    Thanks for any assistance!

  2. #2
    davegri's Avatar
    davegri is online now Excess Access
    Windows 10 Access 2016
    Join Date
    May 2012
    Location
    Denver
    Posts
    3,413
    As the error message states, the validation rule is for the table. Look at the table in design mode and you will see it there if you select field MRN.

  3. #3
    WORKHEADACHE is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Jul 2018
    Posts
    2
    Didn't understand the difference, was looking in the form design view without realising. Thanks for the lesson!

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

Similar Threads

  1. Replies: 4
    Last Post: 12-05-2017, 03:31 PM
  2. help in validation rule
    By Mohaisen in forum Access
    Replies: 12
    Last Post: 08-03-2015, 01:05 PM
  3. Replies: 2
    Last Post: 06-16-2015, 03:52 AM
  4. Validation Rule
    By ritzzy in forum Access
    Replies: 1
    Last Post: 04-13-2011, 01:33 PM
  5. Validation Rule
    By Megan in forum Access
    Replies: 1
    Last Post: 11-05-2010, 09:45 AM

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