473,396 Members | 1,693 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Filter by Form

Sorry to repost but I cannot work this out. Can anyone come up with a
suggestion?
I have a main form based on Table1. The form has a tab control of three
pages. Each page has a subform based on a different table ie subform1 based
on Table2, subform2 based on Table3 and subform3 based on Table4. I want the
user to be able to use the Filter By Form facility in Access but this does
not work when trying to select controls on the main form AND the subforms in
the same filter. I have looked at Allen Browne's help screen on this (thanks
Allen for that pointer) but that seems to only cater with one control on the
sub forms whereas there could be say 1 control on the main form and say 2
controls on the subforms. The users do not yet have the ability to run
queries themselves so I wondered is there was a way to use the Filter in the
way I describe?
TIA
Tony Williams
PS I'm a newbie with VBA so if that's the route simple steps would be
appreciated.
Nov 12 '05 #1
3 2735
On Mon, 26 Apr 2004 16:38:25 +0000 (UTC), "Tony Williams"
<tw@tcp.invalid> wrote:

You found out the hard way that FbF is not very powerful.

The alternative is to realize that users rarely want to find by very
odd fields. That leaves a couple most-used fields, and you write your
own filter form for that.

-Tom.

Sorry to repost but I cannot work this out. Can anyone come up with a
suggestion?
I have a main form based on Table1. The form has a tab control of three
pages. Each page has a subform based on a different table ie subform1 based
on Table2, subform2 based on Table3 and subform3 based on Table4. I want the
user to be able to use the Filter By Form facility in Access but this does
not work when trying to select controls on the main form AND the subforms in
the same filter. I have looked at Allen Browne's help screen on this (thanks
Allen for that pointer) but that seems to only cater with one control on the
sub forms whereas there could be say 1 control on the main form and say 2
controls on the subforms. The users do not yet have the ability to run
queries themselves so I wondered is there was a way to use the Filter in the
way I describe?
TIA
Tony Williams
PS I'm a newbie with VBA so if that's the route simple steps would be
appreciated.


Nov 12 '05 #2
Tony,

I can only generalize.

You aren't going to be able to simultaneously filter the main form and the
subforms at the same time because a specific main form record is associated with
a specific set of subform records. Subforms track main forms so you first need
to filter the main form which will bring with it the specific set of subform
records that are associated with the record in the main form. At that point, you
need to filter the set of subform records to get the specific record or records
you want.

--
PC Datasheet
Your Resource For Help With Access, Excel And Word Applications
re******@pcdatasheet.com
www.pcdatasheet.com


"Tony Williams" <tw@tcp.invalid> wrote in message
news:c6**********@sparta.btinternet.com...
Sorry to repost but I cannot work this out. Can anyone come up with a
suggestion?
I have a main form based on Table1. The form has a tab control of three
pages. Each page has a subform based on a different table ie subform1 based
on Table2, subform2 based on Table3 and subform3 based on Table4. I want the
user to be able to use the Filter By Form facility in Access but this does
not work when trying to select controls on the main form AND the subforms in
the same filter. I have looked at Allen Browne's help screen on this (thanks
Allen for that pointer) but that seems to only cater with one control on the
sub forms whereas there could be say 1 control on the main form and say 2
controls on the subforms. The users do not yet have the ability to run
queries themselves so I wondered is there was a way to use the Filter in the
way I describe?
TIA
Tony Williams
PS I'm a newbie with VBA so if that's the route simple steps would be
appreciated.

Nov 12 '05 #3
Thanks guys looks like back to square one and a rethink!!!
Tony
"Tony Williams" <tw@tcp.invalid> wrote in message
news:c6**********@sparta.btinternet.com...
Sorry to repost but I cannot work this out. Can anyone come up with a
suggestion?
I have a main form based on Table1. The form has a tab control of three
pages. Each page has a subform based on a different table ie subform1 based on Table2, subform2 based on Table3 and subform3 based on Table4. I want the user to be able to use the Filter By Form facility in Access but this does
not work when trying to select controls on the main form AND the subforms in the same filter. I have looked at Allen Browne's help screen on this (thanks Allen for that pointer) but that seems to only cater with one control on the sub forms whereas there could be say 1 control on the main form and say 2
controls on the subforms. The users do not yet have the ability to run
queries themselves so I wondered is there was a way to use the Filter in the way I describe?
TIA
Tony Williams
PS I'm a newbie with VBA so if that's the route simple steps would be
appreciated.

Nov 12 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Robert Neville | last post by:
I would like to add filter functionality to my database whether through the Main form or the subform. This question may be rudimentary, yet I have not less experience with filtering data outside...
0
by: CSDunn | last post by:
Hello, I have a problem with field filtering between an Access 2000 Project form (the application is called CELDT), and the report that shows the results of the filter. Both the form and the...
2
by: Andante.in.Blue | last post by:
Hi everyone! I was wondering if there is a away to use Access 97's build in filter-by-form function but restrict its effect to just the subform. I have a parent form that shows the major...
3
by: Richard | last post by:
Hi, I have a form based on a table. When I filter the form I want to run a report based on the same table with the same filter as the form. No problem until I want to filter a combo box where...
1
by: jeffgeorge | last post by:
Hi all. Trying to move Filter By Selection, Filter By Form, and Apply/Remove Filter directly into my form. No luck. Is there anyway to move them into the header of the form or, as another...
7
by: damjanu | last post by:
Hi All; I need little help. I have a datasheet form. I allow user to do 'filter by selection'. My form contains a column with values. As user changes selections, I want to calculate totals....
8
by: dick | last post by:
I am just trying to print/report the results of a "filter by selection" which is done by right-clicking a form, filling in values, and "applying the filter." I have searched the newsgroups, and...
2
by: Salad | last post by:
I have a log file with a list of records. The log file can be unfiltered or filtered. I have a command button to call a data entry form from the log. At first I was only going to present the...
2
by: cefrancke | last post by:
I have a form (no underlying record set) that has two separate sub-forms on it. Each sub-form has data from two different tables. Above each sub-form there is one unbound combo box with a SQL...
1
by: woodey2002 | last post by:
Hi Everyone and many thanks for your time.. I am trying to begin access and a bit of VBA i am enjoying it but I have a annoying problem I just can’t get any where on. My databse mostly includes...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.