P
PennyB
I have two tables one is
tblProjectsMain - primary key is an autonumber field with no duplicates
table 2
tblPermitMain - is has job number and an indexed key for PermitTaskNumber
I would love to have the permit task number be an autonumber, but the way
the company is handling their permits I can't have it that way.
So for every job number in the main table, there can be many permits.
What I would like to do is write code or something that will auto fill the
next available permit number in for the end user every time they want to
enter a new permit. In other words autonumber for the next permit as follows:
Job Number 1 and Permit task number 1
Job Number 1 and Permit task number 2
Job Number 2 and Permit task number 1
and so on
Hope this makes sense. Any help would be great.
Thanks,
PennyB
tblProjectsMain - primary key is an autonumber field with no duplicates
table 2
tblPermitMain - is has job number and an indexed key for PermitTaskNumber
I would love to have the permit task number be an autonumber, but the way
the company is handling their permits I can't have it that way.
So for every job number in the main table, there can be many permits.
What I would like to do is write code or something that will auto fill the
next available permit number in for the end user every time they want to
enter a new permit. In other words autonumber for the next permit as follows:
Job Number 1 and Permit task number 1
Job Number 1 and Permit task number 2
Job Number 2 and Permit task number 1
and so on
Hope this makes sense. Any help would be great.
Thanks,
PennyB