![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I have a form which I want to filter based on a combo box (ComName), which is linked to a table. I have 1000s of records, but want to select a specific company name from my Combo Box (ComName) and only show records for that company. Any help please. |
#3
| |||
| |||
|
|
On Jan 13, 5:01*am, Paul <burnsp... (AT) hotmail (DOT) co.uk> wrote: I have a form which I want to filter based on a combo box (ComName), which is linked to a table. I have 1000s of records, but want to select a specific company name from my Combo Box (ComName) and only show records for that company. Any help please. What is your issue? *In the combo's afterupdate event you could do something like * Dim strFilter as string * strFilter = "CompanyID = " & Me.ComboCompany * Me.Filter = strFilter * Me.FilterOn = (strFilter > "") Or is it the act of scrolling thru a combobox with 1000s of records? You could create a search form and use the search form instead of a combo. |
![]() |
| Thread Tools | |
| Display Modes | |
| |