bigdrewecu
Programmer
ok i need a way to to calculate a primary key value everytime you add a record starting from 13261. The reason being is that that is the last number in the database for primary keys and it was originally not an autonumber field. So far i think i have to do it on form level in the add record button's click event with a loop and setting the textbox to the calculated value. Anyone have any ideas or suggestions