PC Review


Reply
Thread Tools Rate Thread

Filtering a subform

 
 
karen s via AccessMonster.com
Guest
Posts: n/a
 
      27th Sep 2005
I have a filter selection screen that allows the user to select a division
and a customer. If no selection is made, all is assumed. Once the selection
is made, I open a mainform that contains a sub form. The mainform's
recordsource is set on open of the form depending on the filter selection
screen.

The subform is linked to the mainform by division and customer. The
subform's recordsource is a saved query that returns the detail invoice
information. This is working as expected and only the invoices for the given
selection are shown in the subform. If no selection is made, the mainform
navigates through all divisions/customers and the subform is linked and
dynamically changes.

I need to add a combo box on the subform to allow the user to select an
invoice. If the user knows the invoice number, I want him to be able to
enter it or select it and the subform returns only the selected invoice. If
the user leaves the invoice combo box selection blank, all should be returned
and the master/child link will keep the forms in sync. The invoice selection
can not be on main form because the main form summarizes on the customer.

I am having a mental block with this one. Any assistance would be
appreciated.

Thanks.


--
Message posted via http://www.accessmonster.com
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Filtering a subform base on record selected in another subform. Paterson10987 Microsoft Access VBA Modules 4 12th Feb 2009 08:45 PM
Subform to Subform Filtering (Access 2003) syraqueues Microsoft Access VBA Modules 0 25th Sep 2008 02:15 PM
Filtering subform based on another subform =?Utf-8?B?UkZyZWNoZXR0ZQ==?= Microsoft Access Form Coding 1 18th Sep 2007 06:14 PM
Subform within a subform - filtering problems prairiewind via AccessMonster.com Microsoft Access Forms 9 13th May 2007 02:07 AM
Urgent !!! - Values from Subform - #Error if no records in Subform and Only grabs first subform record Greg Microsoft Access Forms 0 17th Feb 2005 02:12 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:26 AM.