I have a form with a combo box for department (combo133) and a combo box for signing authority (combo139). The source table for both department (field department) and signing authority (field "name_Last_First") is called authority. The output of the form is being saved to a table WO with fields called "Originating Department" and "signing Authority"
I've added the following to my originating department after update:
Expand|Select|Wrap|Line Numbers
- Private Sub Combo133_AfterUpdate()
- On Error Resume Next
- combo139.rowsource = "Select distinct Name_Last_first " & _
- "From Authority " & _
- Where Department ='" & me.combo133 & "' " & _
- "Order by Name_Last_First"
- End Sub
Another error I have seen is on the main form once the initial combo value is selected I receive "Syntax error (missing operator) in query expression 'department=Security'.
Any pointers would be greatly appreciated.
Thanks.