This is possible using a query if you have either an autonumber type index for the table or a date field
using index
select tbl.personid,(select count(a.personid) from tbl as a where a.personid = tbl.personid and a.index <= tbl.index)as counter
from tbl
using date
select tbl.personid,(select count(a.personid) from tbl as a where a.personid = tbl.personid and a.dtfld <= tbl.dtfld)as counter
from tbl
or you could create a function that would do it.