To get Order Numbers for new orders I have two options on my New Orders Form. One is to type in the Pre-Printed number from the Form the customer fills out, or the other option is a Command Button that simply does Dmax to find the highest number in the Orders Table + 1. The problem is that users will sometimes enter the pre-printed Form Number in wrong and make it a very high number. Now I have a gap in the Order Number sequence that I could do without. Is there a way to find the "Lowest Un-used Number" in the table using code? Thank you in advance for any help or suggestions.