Quote:
Originally Posted by jkisner
Is there any way I can lock only the fields that I dont want them to be able to edit?
|
1. When the form is in Design view, open the Properties window.
2. Select the control you want to make read-only.
3. Select the "
Data" tab in the properties window.
4. Change the value of the
Locked property to
Yes.
Quote:
Originally Posted by jkisner
How can I get it to start back at one?
|
Normally, you should never do that. Values generated in an Autonumber column should be reserved for the internal mechanism of a database and never be accessible to the user for whom they are meaningless.
Here's a solution, however
never use it in a database in production.
1. Delete all rows from the table you want to reset.
2. Create a new query and switch to SQL view.
4. Type this in the query (replace "
TableName" by the name of your table and "
TableColumn" by the name of the Identity column):
Code:
ALTER TABLE TableName ALTER COLUMN ColumnName COUNTER(1,1);
5. Execute the query.