Filter on Form

G

Guest

Hello,

I have a combo box "cmbFilterMgr" on my form that I want to filter by when I
select a name from the list. I have a combo box field on my form which is a
User Name field and is called "LoggedByID". In my filtering combo box I want
to select a User name and have my form be filtered to only show records with
that User name.

The code I'm using does nothing. It is:

Me.Filter = "LoggedByID" = Me!cmbFilterMgr
Me.FilterOn = True
DoCmd.Requery
End Sub

Thanks,
Janet
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top