473,396 Members | 1,924 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.

Subform is ignoring filter

I have a three part form, designed as a main form and two subforms.
The main form displays information for a user chosen [via a calling
form] "Agency" which has a unique ID number. The first subform is a
datasheet list of the agency's members and the second provides more
detailed information on the selected member.

This form was designed in about 3 minutes by someone who knows how to
work with wizards, and I'm trying to use it to teach myself the visual
basic, access environment. I've been doing ok--with a lot of help from
people here, 'til now, but suddenly this morning, the subform that
lists all agency members has decided to ignore the agency ID
restriction and is simply listing the underlying members' table
in the order that it's written. I have no idea what I've done to undo
what's been working for so long.

I'm completely at sea because I come from a time where you had code to
look at, and I've looked at the design view of this form and it has no
code at all. Apparently everything's in the objects' properties, and
I've compared properties of the 'new' w/ the working version and I
can't find a significant difference.

Does anyone have any idea of what I might have done?

thanks,
--thelma, very frustrated
Nov 13 '05 #1
3 1333
"Thelma Lubkin" <th****@alpha2.csd.uwm.edu> wrote in message
news:d8**********@uwm.edu...
I have a three part form, designed as a main form and two subforms.
The main form displays information for a user chosen [via a calling
form] "Agency" which has a unique ID number. The first subform is a
datasheet list of the agency's members and the second provides more
detailed information on the selected member.

This form was designed in about 3 minutes by someone who knows how to
work with wizards, and I'm trying to use it to teach myself the visual
basic, access environment. I've been doing ok--with a lot of help from
people here, 'til now, but suddenly this morning, the subform that
lists all agency members has decided to ignore the agency ID
restriction and is simply listing the underlying members' table
in the order that it's written. I have no idea what I've done to undo
what's been working for so long.

Sounds to me like the parent/child properties might have been lost. Worth
checking.

Regards,
Keith.
www.keithwilby.com
Nov 13 '05 #2
Are these forms/subforms linked to each other using master/child? (Go
to the form, right-click on the subform/click properties. If the all
tab is displayed, the link master/link child properties are near the
top).

If these properties have somehow been cleared out, that would certainly
cause the problem.

-Johnny

Nov 13 '05 #3
Johnny Meredith <jm*******@gmail.com> wrote:
: Are these forms/subforms linked to each other using master/child? (Go
: to the form, right-click on the subform/click properties. If the all
: tab is displayed, the link master/link child properties are near the
: top).

: If these properties have somehow been cleared out, that would certainly
: cause the problem.

Thank you so much, Keith and Johnny.
The child link had indeed disappeared.
This also gave me an inkling of how a
subform works.
--thelma
: -Johnny

Nov 13 '05 #4

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

Similar topics

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: Todd | last post by:
Hi, I've been told in another forum that I can apply a filter to a subform (from a control on the main form) by using the following code: Me.sfrMySubform.Filter = " = 7" I've tried this...
2
by: origin197511 | last post by:
Hello all... I'm having an issue with MSAccess 2000. I have a Form that holds records of my cartridge loads for a rifle and a subform that lists all groups that have been fired with that load. ...
3
by: ken | last post by:
Hi, I have a main form with a text box and a filter button. I also have a subform in the main form. When I make an entry into the filter text box and click the filter button, I change the query...
3
by: dhowell | last post by:
In reading some of the posts on this group, it appears as though it is not strait forward at all to filter a form, which has subforms, by criteria which are either on subforms or span more than one...
1
by: aintnorock | last post by:
I have a relatively simple relational database. One of my forms is based on a query with a 3 parameter sort: Status / Priority / Customer. When I open the form, the records are sorted properly. ...
14
by: mchlle | last post by:
How can I filter records of a subform that is part of a tab control? The filter works fine on the form when it is not part of the tab using this in the macro condition: !!="Today" I have a main...
0
by: diogenes | last post by:
"Rick Brandt" <rickbrandt2@hotmail.comwrote in news:bPnKj.456$%41.325 @nlpi064.nbdc.sbc.com: I used this approach, and it works a treat! ID In(SELECT Order_ID FROM orderitems WHERE NAME =...
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: 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?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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...

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.