Hey thanks a lot, that works much better now!
The form that I have enters the part number into the child table, and my autonumbering used to come from the parent, so there was always a record existing in the parent table. Now I need some way to create the number that I get from the Dmax +1...