You can still do your way, but you don't have to. Either way, use an autonumber field.
Youd still have the date of the item, and the autonumber can count the # items in said month. This way its totally passive with no programming.
but,
if you want to use your way, also use your special orderID method, you must program.
on the form load event, (to add new records)
the Autonum field will be null, so,
you must count the # records for that month, then add 1, and create your new OrderID
something like...
Code:
vMo = format(date(),"yyyymm"
newNUm = dcount("*","table","[OrderMo]=#" & vMO) & "#)
NewNum = NewNum + 1
OrderID = vMo & NewNum
but not really needed with autonum.