UtterAccess.com
X   Site Message
(Message will auto close in 2 seconds)

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> How To Filter A Form Based On Value In Subform    
 
   
smthomer
post Apr 9 2011, 09:20 AM
Post #1

New Member
Posts: 5



Hello All

I have a form called CRO Summary with a subform called CRO Performance subform. I wish to filter the form based on the value of a field called Analytical Rating in the CRO Performance subform (where Analytical Rating >= 3) .

The form is linked to table called CROList and the subform is linked to a table called CROPerformance. I have a relationship (1 to many) established between ID (primary key) of CROList and ID of CROPerformance.

I wanted to link VB code to a check box, that when checked, would apply this filter.

I have Access 2010.

Any suggestions? Please explain well (give examples), as my understanding of queries and/or subqueries is at the novice level.


Many thanks,
Steve
Go to the top of the page
 
+
theDBguy
post Apr 9 2011, 09:38 AM
Post #2

Access Wiki and Forums Moderator
Posts: 47,901
From: SoCal, USA



Hi Steve,

(IMG:style_emoticons/default/welcome2UA.gif)

The theory behind a form/subform setup is to filter the subform based on the main form. Although what you are asking is possible, it seems backwards to the purpose of the design. If your main form and subforms are linked properly, as soon as you filter the main form, the subforms will be filtered too.

Could you please explain what you are trying to accomplish? Thanks.
Go to the top of the page
 
+

Thank you for your support! Reply to this topicStart new topic

Jump To Forum:
 



RSS Go to Top  ·  Lo-Fi Version Time is now: 18th May 2013 - 07:11 AM