if the prefix is irrelevant to the number, i.e. if you have AUD-001 you cannot have PAY-001, you can create the primary key simply by concatenating the pieces you require along with a record count:
recNumber = DCount("*",table,"1") + 1
pKey = strPrefix & "-" & Format("000", recNumber)
if you...