G
Guest
I am putting together a list of cleaning jobs due Today - have that fine.
But also would like to populate a dropdown list based on who is TRAINED on
that job.
I attached the below code to the on Open event of the form know that is not
right - need to compare the given JOB Number for each record against who is
trained on that job - not sure what to attach the code to.
Private Sub Form_Open(Cancel As Integer)
Dim bsql As String
bsql = "Select lastname,Frequency,trainingjobnum " & "FROM
qrytrainingclassputontowho " & "WHERE trainingjobnum =""" & Me.Job & """ " &
"ORDER BY lastname"
Me.availper.RowSource = bsql
End Sub
thanks,
barb
But also would like to populate a dropdown list based on who is TRAINED on
that job.
I attached the below code to the on Open event of the form know that is not
right - need to compare the given JOB Number for each record against who is
trained on that job - not sure what to attach the code to.
Private Sub Form_Open(Cancel As Integer)
Dim bsql As String
bsql = "Select lastname,Frequency,trainingjobnum " & "FROM
qrytrainingclassputontowho " & "WHERE trainingjobnum =""" & Me.Job & """ " &
"ORDER BY lastname"
Me.availper.RowSource = bsql
End Sub
thanks,
barb