Hi every one, I have yet another question for the gurus outthere.
This is a resuest from some users that I don't know how to satisfy.
I have a database that tracks Current assignments ( called "Punch items"
for engineers. Engineers belong to several disciplines like Piping, Electrical, Mechanical etc.
So the tblPUNCHITEMS has the follow fields:
tblPunchItems
----------------
PunchItemID (Autonumber)
Title (text)
EmployeeID (number
Discipline (text)
etc.
Now for reports the engineers wanted the punch items grouped by Discipline. that is fine But now they are getting confused by the apparent out of sequence numbering for the PunchItenID ( egthe Mech discipline might only have punchItemId's 1, 4, 24 and 33)
They keep asking dumb questions like "Did I delete Punch items 2 and 3 for the Mechanical discipline?".
Question:
Is there a way to automatically add a record identifier that would begin with a description of what discipline the Punch item relates to and be sequential PER DIscipline??
I want to retain the PunchItemID as the autonumber. But when entering a new punch item( say PunchItemID = 23), after I choose the discipline ( eg MECH) I want another field to be automatically filled in with "MECH-05" . this mean that it is the 5th MECHANICAL related punch item on this database (which contains 23 records in all).
The intention is to later use this filed to sort and group reports...
Please help. If I have confused anyone, please let me know and i will try to explain again..
Thanks,
ZaZa
This is a resuest from some users that I don't know how to satisfy.
I have a database that tracks Current assignments ( called "Punch items"
So the tblPUNCHITEMS has the follow fields:
tblPunchItems
----------------
PunchItemID (Autonumber)
Title (text)
EmployeeID (number
Discipline (text)
etc.
Now for reports the engineers wanted the punch items grouped by Discipline. that is fine But now they are getting confused by the apparent out of sequence numbering for the PunchItenID ( egthe Mech discipline might only have punchItemId's 1, 4, 24 and 33)
They keep asking dumb questions like "Did I delete Punch items 2 and 3 for the Mechanical discipline?".
Question:
Is there a way to automatically add a record identifier that would begin with a description of what discipline the Punch item relates to and be sequential PER DIscipline??
I want to retain the PunchItemID as the autonumber. But when entering a new punch item( say PunchItemID = 23), after I choose the discipline ( eg MECH) I want another field to be automatically filled in with "MECH-05" . this mean that it is the 5th MECHANICAL related punch item on this database (which contains 23 records in all).
The intention is to later use this filed to sort and group reports...
Please help. If I have confused anyone, please let me know and i will try to explain again..
Thanks,
ZaZa