Subform filter Access 2007


"Excel VBA Help"

 


Play Friv Now - Play Friv Games
Go Back   The Code Cage Forums > Microsoft Topics > Microsoft Access Forum
Our Info Pages:-
The Code Cage - Microsoft Office help

Notices

Microsoft Access Forum Members, post questions in this forum if they are related to using Microsoft Access, this includes Tables, Access VBA Programming & Functions etc.

New Reply
Thread Tools Rate Thread Display Modes
  #1  
Unread 1st September 2009, 15:03
PJ's Avatar
PJ
Newsgroup Contributor
 
Posts: n/a
Posts Per Day: 0
My Top Tip Count:
Default Subform filter Access 2007
     Access: Tables   


------ Register to get rid of these "In Post" ads! ------

Category: Access: Tables   

I have two subforms [FSub1] and [FSub2] in [FormMain]. Both subforms are
Continuous Forms depending on different queries.

In [FSub2] I want to apply a filter like:
[FieldX]=[Forms]![FMain]![FSub1]![FieldY].
However, although FSub1 contains several records, the result is a single
record being shown in FSub2.

How can I solve this problem, please? Thanks in advance for any help offered!

The Code Cage Advertisment
Advertisement
  #2  
Unread 1st September 2009, 18:09
KARL DEWEY's Avatar
KARL DEWEY
Newsgroup Contributor
 
Posts: n/a
Posts Per Day: 0
My Top Tip Count:
Default RE: Subform filter Access 2007

------ Register to get rid of these "In Post" ads! ------


Do not use [Forms]![FMain]![FSub1]![FieldY] but the query field for [FieldY].
Use that field as criteria for [FSub1] query.
But remember that you will need to refresh each time [FieldY] is changed.

--
Build a little, test a little.


"PJ" wrote:

> I have two subforms [FSub1] and [FSub2] in [FormMain]. Both subforms are
> Continuous Forms depending on different queries.
>
> In [FSub2] I want to apply a filter like:
> [FieldX]=[Forms]![FMain]![FSub1]![FieldY].
> However, although FSub1 contains several records, the result is a single
> record being shown in FSub2.
>
> How can I solve this problem, please? Thanks in advance for any help offered!


  #3  
Unread 1st September 2009, 20:09
PJ's Avatar
PJ
Newsgroup Contributor
 
Posts: n/a
Posts Per Day: 0
My Top Tip Count:
Default RE: Subform filter Access 2007

------ Register to get rid of these "In Post" ads! ------


Thanks a lot, Karl!

"KARL DEWEY" skrev:

> Do not use [Forms]![FMain]![FSub1]![FieldY] but the query field for [FieldY].
> Use that field as criteria for [FSub1] query.
> But remember that you will need to refresh each time [FieldY] is changed.
>
> --
> Build a little, test a little.
>
>
> "PJ" wrote:
>
> > I have two subforms [FSub1] and [FSub2] in [FormMain]. Both subforms are
> > Continuous Forms depending on different queries.
> >
> > In [FSub2] I want to apply a filter like:
> > [FieldX]=[Forms]![FMain]![FSub1]![FieldY].
> > However, although FSub1 contains several records, the result is a single
> > record being shown in FSub2.
> >
> > How can I solve this problem, please? Thanks in advance for any help offered!


The Code Cage Advertisment
Advertisement
New Reply
The Code Cage at Facebookhe Code Cage at Twitter


Tags
2007, access, filter, subform

Thread Tools
Display Modes 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

Forum Jump

The Code Cage Affilliates



http://www.thecodecage.com/forumz tested by McAfee Security http://www.thecodecage.com/forumz tested by McAfee Security

All times are GMT +1. The time now is 06:27.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Template-Modifications by TMS
No part of this board, functionality or creatives may be copied or reproduced either in part or full without the express permission of The Code Cage Team.
Copyright ©2008 - , Simon lloyd.
We are not associated with nor employed by Microsoft in any way, we simply provide resources!
All MS office icons are registered trademarks of the application they represent and are used with permission from Microsoft
UA-8135493-1
Cultural Forum | Study at Malaysian University