Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
Access Discussion of Microsoft Access database design and programming. See also the forums for Access ASP and Access VBA.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 7th, 2005, 09:19 AM
Authorized User
 
Join Date: Oct 2005
Location: Summerville, SC, USA.
Posts: 48
Thanks: 0
Thanked 0 Times in 0 Posts
Default Subform Not Showing

I have a simple form with a tab control. On the second tab I have a subform which is based off another table. When I go to form view and click on tab2 the subform does not show up. But the label for it does. Any suggestions?

 
Old November 7th, 2005, 11:15 AM
Friend of Wrox
Points: 9,611, Level: 42
Points: 9,611, Level: 42 Points: 9,611, Level: 42 Points: 9,611, Level: 42
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Mar 2004
Location: Washington, DC, USA.
Posts: 3,069
Thanks: 0
Thanked 10 Times in 10 Posts
Default

Does it show up in Design Mode? If so, is its Visible property set to Yes or True?


mmcdonal
 
Old November 7th, 2005, 12:14 PM
Authorized User
 
Join Date: Oct 2005
Location: Summerville, SC, USA.
Posts: 48
Thanks: 0
Thanked 0 Times in 0 Posts
Default

It show up in design mode and the obvious place to look is the visible property....which is set to true....I never changed it...I didn't change any properties what so ever....I even used the wizard to create the subform. Still doesn't work.

 
Old November 7th, 2005, 02:10 PM
Friend of Wrox
Points: 4,007, Level: 26
Points: 4,007, Level: 26 Points: 4,007, Level: 26 Points: 4,007, Level: 26
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Lansing, Michigan, USA.
Posts: 1,151
Thanks: 2
Thanked 14 Times in 14 Posts
Send a message via ICQ to SerranoG Send a message via AIM to SerranoG
Default

Is the subform connected to the main form by a parent/child relationship? If so, it could be that there are no records associated to the related key in the main form. That would give you zero records and the subform would not be populated.

Greg Serrano
Michigan Dept. of Environmental Quality, Air Quality Division
 
Old November 13th, 2005, 10:30 AM
Friend of Wrox
 
Join Date: Mar 2004
Location: Yorba Linda, California, USA.
Posts: 217
Thanks: 0
Thanked 1 Time in 1 Post
Default

So within the subform, neither the subform nor any of its objects show up? Does this occur in ALL instances of the subform, or does the subform display for records that contain data? If the later:
1. Is the the field set as "link child field" null?
2. Is the datasource for the subform "read only" (or the database property set to read only)
3. Is the datasource for the subform a union query?

I've had that happen consistently in subforms in single form view only and have not found a way around it.

HTH,
Loralee





Similar Threads
Thread Thread Starter Forum Replies Last Post
images not showing in IE Adam H-W CSS Cascading Style Sheets 3 March 20th, 2008 07:02 AM
FCKeditor not showing dofield BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 1 November 24th, 2007 05:20 AM
second drop down not showing mhodges Access ASP 1 March 23rd, 2007 11:15 PM
Showing Forms drachx General .NET 4 October 12th, 2004 12:05 PM
Filter Subform B Based on Field in Subform A SerranoG Access VBA 3 June 18th, 2004 12:23 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.