accdb: add a pattern for item number (ported from master)