This is DRIVING me nuts! For some reason, last few months, I can’t figure this out. Whenever I try to use a Forms collection (Forms!frmxxx!xxx), I keep on getting an error message saying that it cannot find the form! I checked everything, the names is right, etc. Even if I follow examples from others, it still doesn’t work. Please help.
![]() |
Patch reliability is unclear. Unless you have an immediate, pressing need to install a specific patch, don't do it. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |
-
Forms Collection issue! (Access 2000 SP2)
Home » Forums » AskWoody support » Productivity software by function » MS Access and database help » Forms Collection issue! (Access 2000 SP2)
- This topic has 8 replies, 4 voices, and was last updated 22 years, 7 months ago.
AuthorTopicWSRainyCity4
AskWoody LoungerSeptember 11, 2002 at 3:46 pm #376339Viewing 0 reply threadsAuthorReplies-
WSpbricker
AskWoody Lounger -
WSRainyCity4
AskWoody LoungerSeptember 11, 2002 at 3:59 pm #615957That was the oddest thing. I knew that subform has to be open for this to work. When I open the main form, I see the whole thing (Main form and subforms), so I assume it is “open”? Or is it defined differently? Can a subform that I can see on the main form be considered “closed”?
Brent
-
WSMarkLiquorman
AskWoody LoungerSeptember 11, 2002 at 4:05 pm #615959A subform is NOT in the forms collection! Is is not considered an open form. To access a subform, you must reference it via the subform control name on the mainform (which may or may not be the same as the subform’s name). Something like this:
Forms!MainformName!subformControlname.Form!someControlName -
WSRainyCity4
AskWoody Lounger -
WSMarkLiquorman
AskWoody LoungerSeptember 11, 2002 at 8:12 pm #616073Let’s use some examples. Let’s say you have 2 forms in your database window: frmCustomers and frmPhones. Form frmPhones contains a textbox named txtPhoneNo. If you look on frmCustomers, you will see a subform control. That control has a Name property (which may be something like “subPhones”) and a SourceObject property (which is the name of the actual form it contains, frmPhones). If you want to reference the Phone# on the current row in the subform, the complete syntax would be:
Forms!frmCustomers!subPhones.Form!txtPhoneNoWhich essentially says “Look in the Forms collection, find form frmCustomers, and on it find the control subPhones, then look at the Form it contains and find control txtPhoneNo”.
-
WScharlotte
AskWoody LoungerSeptember 12, 2002 at 1:44 am #616162 -
WSMarkLiquorman
AskWoody LoungerSeptember 12, 2002 at 12:47 pm #616235Yeah, I know that .Form is the default property for the subform control, and that I really don’t have to use. However, I use still use it myself because I find it makes the code easier to read, and I use it when explaining the concept to other people because I think it helps them understand the relationship of the form within the subform control.
-
WScharlotte
AskWoody Lounger
-
-
-
-
Viewing 0 reply threads -

Plus Membership
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Get Plus!
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
Search Newsletters
Search Forums
View the Forum
Search for Topics
Recent Topics
-
WU help needed with “Some settings are managed by your organization”
by
Peobody
1 hour, 9 minutes ago -
No Newsletters since 27 January
by
rog7
5 hours, 18 minutes ago -
Linux Mint Debian Edition 7 gets OEM support, death of Ubuntu-based Mint ?
by
Alex5723
5 hours, 39 minutes ago -
Windows Update “Areca Technology Corporation – System – 6.20.0.41”
by
Bruce
28 minutes ago -
Google One Storage Questions
by
LHiggins
7 hours, 59 minutes ago -
Button Missing for Automatic Apps Updates
by
pmcjr6142
3 hours, 15 minutes ago -
Ancient SSD thinks it’s new
by
WSila
14 minutes ago -
Washington State lab testing provider exposed health data of 1.6 million people
by
Nibbled To Death By Ducks
15 hours, 58 minutes ago -
WinRE KB5057589 fake out
by
Susan Bradley
9 hours, 17 minutes ago -
The April 2025 Windows RE update might show as unsuccessful in Windows Update
by
Susan Bradley
26 minutes ago -
Firefox 137
by
Charlie
6 hours, 46 minutes ago -
Whisky, a popular Wine frontend for Mac gamers, is no more
by
Alex5723
1 day, 4 hours ago -
Windows 11 Insider Preview build 26120.3863 (24H2) released to BETA
by
joep517
1 day, 4 hours ago -
Windows 11 Insider Preview build 26200.5551 released to DEV
by
joep517
1 day, 4 hours ago -
New Windows 11 PC setup — can I start over in the middle to set up a local id?
by
ctRanger
25 minutes ago -
Windows 11 Insider Preview Build 26100.3902 (24H2) released to Release Preview
by
joep517
1 day, 8 hours ago -
Oracle kinda-sorta tells customers it was pwned
by
Nibbled To Death By Ducks
1 day, 14 hours ago -
Global data centers (AI) are driving a big increase in electricity demand
by
Kathy Stevens
2 days ago -
Office apps read-only for family members
by
b
2 days, 3 hours ago -
Defunct domain for Microsoft account
by
CWBillow
1 day, 23 hours ago -
24H2??
by
CWBillow
18 minutes ago -
W11 23H2 April Updates threw ‘class not registered’
by
WindowsPersister
1 day, 8 hours ago -
Master patch listing for April 8th, 2025
by
Susan Bradley
8 minutes ago -
TotalAV safety warning popup
by
Theodore Nicholson
23 hours, 23 minutes ago -
two pages side by side land scape
by
marc
4 days ago -
Deleting obsolete OneNote notebooks
by
afillat
4 days, 3 hours ago -
Word/Outlook 2024 vs Dragon Professional 16
by
Kathy Stevens
3 days, 5 hours ago -
Security Essentials or Defender?
by
MalcolmP
3 days, 8 hours ago -
April 2025 updates out
by
Susan Bradley
6 hours, 4 minutes ago -
Framework to stop selling some PCs in the US due to new tariffs
by
Alex5723
3 days, 1 hour ago
Recent blog posts
Key Links
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2025 by AskWoody Tech LLC. All Rights Reserved.