I
iamrdbrown
I am attempting my first database that will need VB/VBA coding. I am very
new to VB/VBA and need a little jump start.
The database is to track unit rework that has to be performed due to product
mishandling. It is a very small database at this time (only 3 tables):
tblUsers, tblSecuritySettings, tblUnitData
The security table is set up to identify Operators, Supervisors and QA
Auditors for approval security levels.
The Users table has UserID, FirstName, LastName and a lookup to the Security
table for clearance.
The bulk of the information is in the UnitData table where I will track the
unit model number, labeling, work performed, etc.
I have a couple of things I need help with on the main form for
inputting/reviewing unit data.
The form needs 3 'approvals' to be complete. These approvals are each done
separately & need to be based on 'security level' for each. They may or may
not be done on the same date, so each approval is set up as follows:
UserID1, DateChecked1 and ShiftChecked1
UserID2, DateChecked2 and ShiftChecked2
UserID3, DateChecked3 and ShiftChecked3
Basically, UserID1 approval is the operator doing the work and needs to have
operator security clearance (or better). DateChecked1 needs to be the date
the operator puts in his/her ID. The operator will put in ShiftChecked1.
UserID2 approval is for a Supervisor to complete once they have confirmed
the rework has been performed correctly. It shouldn't be visible unless
there is data in the UserID1 field. Once it is visible, a person will need
to have Supervisor clearance to fill in the associated fields.
UserID3 is for a quality auditor to fill in once they have reviewed the
unit. This field and the other 2 associated with it should only be visible
if the UserID1 AND UserID2 fields have been completed. It should also look
for the person to have QA Auditor security clearance to be able to enter data.
I know, this is an awful lot to start with for a beginner... but I got
handed this as a 'see if you can figure this out and make it work' project.
I am just too stubborn to admit it's over my head - especially if I can
figure it out & learn from it.
Thanks in advance for any help
R Brown
new to VB/VBA and need a little jump start.
The database is to track unit rework that has to be performed due to product
mishandling. It is a very small database at this time (only 3 tables):
tblUsers, tblSecuritySettings, tblUnitData
The security table is set up to identify Operators, Supervisors and QA
Auditors for approval security levels.
The Users table has UserID, FirstName, LastName and a lookup to the Security
table for clearance.
The bulk of the information is in the UnitData table where I will track the
unit model number, labeling, work performed, etc.
I have a couple of things I need help with on the main form for
inputting/reviewing unit data.
The form needs 3 'approvals' to be complete. These approvals are each done
separately & need to be based on 'security level' for each. They may or may
not be done on the same date, so each approval is set up as follows:
UserID1, DateChecked1 and ShiftChecked1
UserID2, DateChecked2 and ShiftChecked2
UserID3, DateChecked3 and ShiftChecked3
Basically, UserID1 approval is the operator doing the work and needs to have
operator security clearance (or better). DateChecked1 needs to be the date
the operator puts in his/her ID. The operator will put in ShiftChecked1.
UserID2 approval is for a Supervisor to complete once they have confirmed
the rework has been performed correctly. It shouldn't be visible unless
there is data in the UserID1 field. Once it is visible, a person will need
to have Supervisor clearance to fill in the associated fields.
UserID3 is for a quality auditor to fill in once they have reviewed the
unit. This field and the other 2 associated with it should only be visible
if the UserID1 AND UserID2 fields have been completed. It should also look
for the person to have QA Auditor security clearance to be able to enter data.
I know, this is an awful lot to start with for a beginner... but I got
handed this as a 'see if you can figure this out and make it work' project.
I am just too stubborn to admit it's over my head - especially if I can
figure it out & learn from it.
Thanks in advance for any help
R Brown