Subform / Combo Query

Saifon

Registered User.
Local time
Today, 01:27
Joined
Mar 7, 2005
Messages
11
Hi Folks

Attached is an example of what I'm looking to do.. I'm new to VB code and not great on queries either.

I'm looking to simply choose the department from the dropdown combo box on the form and the subform above it to update with showing all the results containing the department from the selection.

Not sure on the best way to do this, either via a query or from the table directly, or even some way to use the drop down to filter the table being displayed on the subform.

Anyone got any ideas. Thanks
 

Attachments

The subform's RecordSource query should reference the combo for its selection criteria. Then in the AfterUpdate event of the combo, you need to requery the subform.
 
got it.. cheers thanks..
 

Users who are viewing this thread

Back
Top Bottom