Hi -
This series of steps, plugged into a query, will return each section regardless of the size of the sections:
a = "ACCT-101-501"
b = left(a, instr(a, "-")-1)
c = Mid(a,len(b)+2, len(a)- instrrev(a, "-"))
d = mid(a, instrrev(a, "-")+1)
? a
ACCT-101-501
? b
ACCT
? c
101
? d
501
HTH - Bob