I want to add a number to a record without using autonumber(because the tables are placed on a SQL server) but it should work just like autonumber. when I load the form the next available number should appear in a text field and when I add the record the next number should appear in the text box.