filter from combobox

Joe Z

New Member
Joined
Mar 9, 2006
Messages
44
I am trying to filter data from a table by selecting criteria from a combobox.
table: tblBillVendor
form: frmMedVendor
query: qryBillVendor
combobox: cmbVendor

The source for the form frmMedVendor is qryBillVendor; the source for cmbVendor is an SQL with ID as column(1) which is the bound column. I have tried setting the where row in qryBillVendor.ID to Me.cmbVendor but the query does not get updated.
What I am trying to do is select a vendor on the main form so I can review data in the linked subform. The query does not update.
Questions: How do I update the query so main form will update?
How do I requery so all records will show?
I guess I am not sure how to reference the different queries & forms?
Thanks
 

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.
Thanks, the info was helpful. It's working now but I am getting the "Enter the parameter dialogue box" so I must have a problem with expression so I need to do a little fine tuning.
 
Upvote 0

Forum statistics

Threads
1,214,819
Messages
6,121,746
Members
449,050
Latest member
excelknuckles

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top