Filter a Listbox

G

Gene DeJoie

Ive created a combo box for my list box both have OwnerID common
Just no quite right yet!
Regards Bob

Private Sub cmbFindClients_AfterUpdate()
Me.Filter = "OwnerID" & cmbFindClients.value


Me.FilterOn = True
End Sub

Bob Vance said:
Thanks Douglas, That what I want to do , is there somewhere you can point
me to create this Scenario.............Thanks Bob

Douglas J. Steele said:
You mean you want to select something in the combo box and have that
limit what appears in the list box? No problem.

--
Doug Steele, Microsoft Access MVP

(no private e-mails, please)


I have a listbox that is based on a query, One of the fields in query is
[OwnerID]
Can I create a Combo box with [OwnerID] to filter my Listbox?
 
G

Gene DeJoie

Ive created a combo box for my list box both have OwnerID common
Just no quite right yet!
Regards Bob

Private Sub cmbFindClients_AfterUpdate()
Me.Filter = "OwnerID" & cmbFindClients.value


Me.FilterOn = True
End Sub

Bob Vance said:
Thanks Douglas, That what I want to do , is there somewhere you can point
me to create this Scenario.............Thanks Bob

Douglas J. Steele said:
You mean you want to select something in the combo box and have that
limit what appears in the list box? No problem.

--
Doug Steele, Microsoft Access MVP

(no private e-mails, please)


I have a listbox that is based on a query, One of the fields in query is
[OwnerID]
Can I create a Combo box with [OwnerID] to filter my Listbox?
 
G

Gene DeJoie

Ive created a combo box for my list box both have OwnerID common
Just no quite right yet!
Regards Bob

Private Sub cmbFindClients_AfterUpdate()
Me.Filter = "OwnerID" & cmbFindClients.value


Me.FilterOn = True
End Sub

Bob Vance said:
Thanks Douglas, That what I want to do , is there somewhere you can point
me to create this Scenario.............Thanks Bob

Douglas J. Steele said:
You mean you want to select something in the combo box and have that
limit what appears in the list box? No problem.

--
Doug Steele, Microsoft Access MVP

(no private e-mails, please)


I have a listbox that is based on a query, One of the fields in query is
[OwnerID]
Can I create a Combo box with [OwnerID] to filter my Listbox?
 
G

Gene DeJoie

Ive created a combo box for my list box both have OwnerID common
Just no quite right yet!
Regards Bob

Private Sub cmbFindClients_AfterUpdate()
Me.Filter = "OwnerID" & cmbFindClients.value


Me.FilterOn = True
End Sub

Bob Vance said:
Thanks Douglas, That what I want to do , is there somewhere you can point
me to create this Scenario.............Thanks Bob

Douglas J. Steele said:
You mean you want to select something in the combo box and have that
limit what appears in the list box? No problem.

--
Doug Steele, Microsoft Access MVP

(no private e-mails, please)


I have a listbox that is based on a query, One of the fields in query is
[OwnerID]
Can I create a Combo box with [OwnerID] to filter my Listbox?
 
G

Gene DeJoie

Ive created a combo box for my list box both have OwnerID common
Just no quite right yet!
Regards Bob

Private Sub cmbFindClients_AfterUpdate()
Me.Filter = "OwnerID" & cmbFindClients.value


Me.FilterOn = True
End Sub

Bob Vance said:
Thanks Douglas, That what I want to do , is there somewhere you can point
me to create this Scenario.............Thanks Bob

Douglas J. Steele said:
You mean you want to select something in the combo box and have that
limit what appears in the list box? No problem.

--
Doug Steele, Microsoft Access MVP

(no private e-mails, please)


I have a listbox that is based on a query, One of the fields in query is
[OwnerID]
Can I create a Combo box with [OwnerID] to filter my Listbox?
 
G

Gene DeJoie

Ive created a combo box for my list box both have OwnerID common
Just no quite right yet!
Regards Bob

Private Sub cmbFindClients_AfterUpdate()
Me.Filter = "OwnerID" & cmbFindClients.value


Me.FilterOn = True
End Sub

Bob Vance said:
Thanks Douglas, That what I want to do , is there somewhere you can point
me to create this Scenario.............Thanks Bob

Douglas J. Steele said:
You mean you want to select something in the combo box and have that
limit what appears in the list box? No problem.

--
Doug Steele, Microsoft Access MVP

(no private e-mails, please)


I have a listbox that is based on a query, One of the fields in query is
[OwnerID]
Can I create a Combo box with [OwnerID] to filter my Listbox?
 
G

Gene DeJoie

Ive created a combo box for my list box both have OwnerID common
Just no quite right yet!
Regards Bob

Private Sub cmbFindClients_AfterUpdate()
Me.Filter = "OwnerID" & cmbFindClients.value


Me.FilterOn = True
End Sub

Bob Vance said:
Thanks Douglas, That what I want to do , is there somewhere you can point
me to create this Scenario.............Thanks Bob

Douglas J. Steele said:
You mean you want to select something in the combo box and have that
limit what appears in the list box? No problem.

--
Doug Steele, Microsoft Access MVP

(no private e-mails, please)


I have a listbox that is based on a query, One of the fields in query is
[OwnerID]
Can I create a Combo box with [OwnerID] to filter my Listbox?
 
G

Gene DeJoie

Ive created a combo box for my list box both have OwnerID common
Just no quite right yet!
Regards Bob

Private Sub cmbFindClients_AfterUpdate()
Me.Filter = "OwnerID" & cmbFindClients.value


Me.FilterOn = True
End Sub

Bob Vance said:
Thanks Douglas, That what I want to do , is there somewhere you can point
me to create this Scenario.............Thanks Bob

Douglas J. Steele said:
You mean you want to select something in the combo box and have that
limit what appears in the list box? No problem.

--
Doug Steele, Microsoft Access MVP

(no private e-mails, please)


I have a listbox that is based on a query, One of the fields in query is
[OwnerID]
Can I create a Combo box with [OwnerID] to filter my Listbox?
 

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

Similar Threads

Query Expression Help! 26
Text Box #error 7
Overdue Query help needed 3
Why wont my query Show Owner Name 3
Can this be done? 3
Query question! 5
strMail Query! 1
DLookup for Report! 4

Top