How do I change validation rules in Access when I can't find the original table?

Dan Boyle 0 Reputation points
2024-03-16T23:00:02.1833333+00:00

Please excuse my ignorance...I have not had the need for Access for five years. I have a data input table that was designed to make it easy for data entry, with form view, design view, and datasheet view. When entered, the data can be seen in the Data Table: Table as well as in the datasheet view. But some of the variable names are different...I copied the data input table from another project, and the data shows up in the right place but under a different name. Two variables from the other project had data validation rules that no longer apply, but I don't know how to change them. The datasheet view does not appear to be editable, and the Data Table: Table validation rules do not seem to apply for data input. Specifically, two variables were limited to a maximum of 35, but these limits do not apply to the new project. But my data entry person cannot enter a value >35. How can I modify the files?

Access Development
Access Development
Access: A family of Microsoft relational database management systems designed for ease of use.Development: The process of researching, productizing, and refining new or existing technologies.
883 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Ken Sheridan 2,841 Reputation points
    2024-03-27T12:53:19.9166667+00:00

    Was the original database from which you copied the table split into separate front and back ends?  If so, did you copy the table from the front end? If you did, this will have copied the link to the back end, which you cannot modify in table design view.  The original back end file should be copied to an appropriate location on the system to which all authorised users of the database have full permissions.  You should then be able to modify the new back end table in table design view.  You can then use the Linked Table Manager in the Import and Link area of the External Data ribbon in the front end to change the links so that they point to the new copy of the back end. 

    BTW, as well as deleting the ValidationRule properties values, to allow the entry more than 35 characters into the columns in question, be sure that the FieldSize property of each column is also changed if necessary.  Make it 255 to allow the maximum length in a column of Short Text data type.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.