I am trying to filter a list of production numbers based on the staff member who made them. I am using the StaffID in column 0 of a combobox to do this.
When I try to run the code, I get a compile error. Method or data member not found.
I am new at this and am pretty sure I am doing something stupid but I can not figure out what.
This is the code:
intStaffID = Me.cmbboxStaffName.Column(0)
Me.subfrmProductionRecord.Form.RecordSource = "SELECT * FROM tblProductionRecord WHERE StaffID = " & intStaffID