J
John Powell
I have three set due times that I am trying to auto populate. If it
is "1st" shift the due time should populate at 3:00, "2nd" shift at
11:00, and "3rd" shift at 0700.
This is a "Key Checkout" database that is set up on a barcode reader.
The idea is that using a static Due_Time, the issuer of the key will
know who is late in returning the key - by use of an "Overdue"
reminder. I am a novice at this but the powers that be have faith
that this can be done.
Once scanned, the employee is selected in a list box - Name, title,
employee Id. A "shift" combo box is auto filled based upon the list
box selection. I have the selected shift (1st, 2nd, 3rd) set up on
the following and it doesn't work, Due Date is set up on the Date &
Time format (General).
Private Sub Checked_Out_To_AfterUpdate()
Select Case Me.[Checked Out To].Value
Case "1st"
Me.[Due_Date].Value = 1700
Case "2nd"
Me.[Due_Date].Value = 1100
Case "3rd"
Me.[Due_Date].Value = 0700
End Select
End Sub
I would much rather set it up on a time format, meaning if key is
checked out at 7am it automatically knows it must be returned by 5pm
or a reminder will appear.
Any help would be appreciated,
John
is "1st" shift the due time should populate at 3:00, "2nd" shift at
11:00, and "3rd" shift at 0700.
This is a "Key Checkout" database that is set up on a barcode reader.
The idea is that using a static Due_Time, the issuer of the key will
know who is late in returning the key - by use of an "Overdue"
reminder. I am a novice at this but the powers that be have faith
that this can be done.
Once scanned, the employee is selected in a list box - Name, title,
employee Id. A "shift" combo box is auto filled based upon the list
box selection. I have the selected shift (1st, 2nd, 3rd) set up on
the following and it doesn't work, Due Date is set up on the Date &
Time format (General).
Private Sub Checked_Out_To_AfterUpdate()
Select Case Me.[Checked Out To].Value
Case "1st"
Me.[Due_Date].Value = 1700
Case "2nd"
Me.[Due_Date].Value = 1100
Case "3rd"
Me.[Due_Date].Value = 0700
End Select
End Sub
I would much rather set it up on a time format, meaning if key is
checked out at 7am it automatically knows it must be returned by 5pm
or a reminder will appear.
Any help would be appreciated,
John