Ok, just after reviewing my own posts I can see one big error is that I used Supplier, which is not even a table or anything in my database. I think something like
[Forms]![User]![Furniture subform] should be there instead..
something like...
Private Sub cboEmployee_AfterUpdate()...
I tried the code below, but got an Object Required error
I think [Employee] should be something else,
Private Sub cboEmployee_AfterUpdate()
Supplier.Form.Filter = "[Employee]= '" & cboEmployee & "'"
Supplier.Form.FilterOn = True
End Sub
For more clarification:
My User...
Hey guys, I took a look at this site and found it to be very useful.
I am a beginner in MS Access but what I am trying to do should be very simple.
So we have a User table and a Furniture table, and the Furniture table has the columns FurnitureIDNumber, FurnitureType and AssignedTo. The name...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.