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, 6 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
-
Forcing(or trying to) save Local Documents to OneDrive
by
PateWilliam
5 hours, 26 minutes ago -
Hotpatch for Windows client now available (Enterprise)
by
Alex5723
6 hours, 5 minutes ago -
MS-DEFCON 2: Seven months and counting
by
Susan Bradley
38 minutes ago -
My 3 monitors go black & then the Taskbar is moved to center monitor
by
saturn2233
16 hours, 20 minutes ago -
Apple backports fixes
by
Susan Bradley
2 hours, 14 minutes ago -
Win 11 24H2 will not install
by
Michael1950
16 hours, 34 minutes ago -
Advice to convert MBR to GPT and install Windows 11 Pro on unsupported PC
by
Andy M
16 hours, 5 minutes ago -
Photos from iPhone to Win 10 duplicating/reformatting to .mov
by
J9438
1 hour, 45 minutes ago -
Thunderbird in trouble. Here comes Thundermail
by
Alex5723
16 hours, 22 minutes ago -
Get back ” Open With” in context menus
by
CWBillow
1 day, 5 hours ago -
Many AMD Ryzen 9800X3D on ASRock have died
by
Alex5723
1 day, 9 hours ago -
simple general stupid question
by
WSaltamirano
1 day, 3 hours ago -
April 2025 Office non-Security updates
by
PKCano
1 day, 20 hours ago -
Microsoft wants to hear from you
by
Will Fastie
20 hours, 8 minutes ago -
Windows 11 Insider Preview Build 22635.5160 (23H2) released to BETA
by
joep517
1 day, 23 hours ago -
Europe Seeks Alternatives to U.S. Cloud Providers
by
Alex5723
2 days, 5 hours ago -
Test post
by
Susan Bradley
2 days, 7 hours ago -
Used Systems to delete Temp files Gone WRONG what does this mean?
by
Deo
2 days, 9 hours ago -
SSD shuts down on its own
by
CWBillow
2 days ago -
OneDrive File Sharing Changes
by
David Clark
2 days, 17 hours ago -
OneDrive File Sharing Changes
by
David Clark
2 days, 19 hours ago -
Win 10 Pro 22H2 to Win 11 Pro 23H2 Conversion Guide
by
doneager
1 day, 19 hours ago -
Today is world backup day
by
Alex5723
2 days, 10 hours ago -
Windows .exe on Mint
by
Slowpoke47
13 minutes ago -
Reviewing your licensing options
by
Susan Bradley
5 hours, 11 minutes ago -
Apple has been analyzing your photos since September 2024
by
B. Livingston
1 day, 15 hours ago -
What Windows 11 24H2 offers beyond bugs
by
Lance Whitney
1 day, 11 hours ago -
Making sense of Settings in Windows 11
by
Simon Bisson
1 day, 13 hours ago -
Windows 11 pro fails to log in after upgrading Win 10 pro to Win 11 pro 24h2
by
ben_sitaud
2 days, 16 hours ago -
23H2 / 24H2 / Local v. Microsoft Account.
by
CWBillow
2 hours, 31 minutes ago
Recent blog posts
- MS-DEFCON 2: Seven months and counting
- Apple backports fixes
- April 2025 Office non-Security updates
- Microsoft wants to hear from you
- Reviewing your licensing options
- Apple has been analyzing your photos since September 2024
- What Windows 11 24H2 offers beyond bugs
- Making sense of Settings in Windows 11
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.