Form filters

Lanason

Registered User.
Local time
Today, 09:42
Joined
Sep 12, 2003
Messages
258
I have a combo box on a form header to select a persons name to filter the data below

but cant get the syntax correct - the combo box name is OwnerFilter

Me.Filter = "Owner = OwnerFilter"
Me.FilterOn = True

this doesn't work - any help please
 
Are you looking up the name or the ID (string or number)
Strings need quotes....

Me.Filter ="[owner]='" & cboBox & "'"
 
That was so obvious when you posted it - thanks #BrainFade :D
 

Users who are viewing this thread

Back
Top Bottom