K
Kevin
I have a table called tblProject with a primary key JobNumber. Another
table, called tblPunchItems has fields JobNumber and PunchID on the "many"
side of a one-to-many relationship with tblProject. So there can be many
PunchID's for one JobNumber. Example:
JobNumber PunchID
06-5788 001
06-5788 002
06-5788 003
06-5788 004
06-5790 001
06-5790 002
06-5790 003
....and so on...
Is it possible to utilize the AutoNumber property for the PunchID field and
have it start at 001 for each JobNumber? If not, is there perhaps some code
that can be written to create the next available PunchID? As it currently
stands, users enter the next PunchID manually, but it would be nice to have
the database assign the next available number autmatically.
Any feedback is greatly appreciated!
table, called tblPunchItems has fields JobNumber and PunchID on the "many"
side of a one-to-many relationship with tblProject. So there can be many
PunchID's for one JobNumber. Example:
JobNumber PunchID
06-5788 001
06-5788 002
06-5788 003
06-5788 004
06-5790 001
06-5790 002
06-5790 003
....and so on...
Is it possible to utilize the AutoNumber property for the PunchID field and
have it start at 001 for each JobNumber? If not, is there perhaps some code
that can be written to create the next available PunchID? As it currently
stands, users enter the next PunchID manually, but it would be nice to have
the database assign the next available number autmatically.
Any feedback is greatly appreciated!