Hi,
How do I change the code below to include one more field in the second combo box i.e. ServiceNo. I want both ServiceTitle and ServiceNo to appear (there are both in the same table).
Cheers!
How do I change the code below to include one more field in the second combo box i.e. ServiceNo. I want both ServiceTitle and ServiceNo to appear (there are both in the same table).
Code:
Private Sub ClientNo_AfterUpdate()
Me.ServiceNo.RowSource = "SELECT ServiceTitle FROM" & _
" tblServices WHERE ClientNo = " & Me.ClientNo & _
" ORDER BY ServiceTitle"
End Sub
Cheers!