I am trying to make some changes to a database I inherited. On the main form, I select the county I want, then click on add/edit. That then opens a form which puts that data into that county database. When I open the form, it doesn't open to a blank form, it opens to a record thats already in the database. For instance in this specfic database, there are 10,430 records. I would like it to open a blank form when add/edit is selected and have that black form be 10,431. I also want to be able to set the year and not let it be changed. Then, if it is the first entry for that year, the Document Line needs to start at one and increase by one each time a new entry is made for that year. I've attached a copy of the code behind the form. Any help is greatly appreciated.