DMax() and autonumber
Wayne thanks for taking the time to help. I finally got it to work. Don't know why, but I have to use the AfterUpate of the category field
Me.Sequence = Nz(DMax("Sequence", "tblScreen", "CarModel = '" & Me.CarModel & "' And " & "Category = '" & Me.Category & "'"), 0) + 1...