Solved

Access Subform doesn't show underlying Data

Posted on 2012-12-27
7
255 Views
Last Modified: 2013-01-02
I have the most bizarre thing happening.  I have Form Called Sponsors with a Subform of Sponsor Addresses.  The parent /child link is correct.

If you open the Sponsor form, you see no addresses.

However, if you filter on the SponsorID, the addresses appear in the subform.

Mystery??? why?
0
Comment
Question by:sharpapproach
  • 3
  • 3
7 Comments
 
LVL 74

Expert Comment

by:Jeffrey Coachman
ID: 38724578
Could not replicate...

Can you post a simple sample db that illustrates this issue?
0
 
LVL 13

Expert Comment

by:AielloJ
ID: 38724580
Can you post more details please?

You may have to put an action after the parent form loads to refresh the subform.

AielloJ
0
 
LVL 74

Expert Comment

by:Jeffrey Coachman
ID: 38724874
Perhaps the Main form has a little corruption creeping in...
Have you tried compacting the db?

As another quick test, just make another Sponsors Main form, and drop in the subform.
What happens in the new main form?
0
Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

 

Author Comment

by:sharpapproach
ID: 38724892
I can't post the database, because it a regulatory database for government studies.  

I did try to put both a requery and refresh on the Main form on the Form_Activate.  It doesn't do anything.

I attached a document to show you what I see :
0
 
LVL 74

Expert Comment

by:Jeffrey Coachman
ID: 38725017
<I can't post the database,>
I never asked you to...
I only asked for :
"a simple sample db that illustrates this issue"

So as log as the simple sample exhibits the same issue, we can troubleshoot .

I also asked:
Have you tried compacting the db?
As another quick test, just make another Sponsors Main form, and drop in the subform.
What happens in the new main form?
0
 

Accepted Solution

by:
sharpapproach earned 0 total points
ID: 38726928
We tried everything.  I even recreated the form.  I finally recreated in a different database, did an import and worked.... Been an Access programmer for 20 years and never saw this.... Very bizarre
0
 

Author Closing Comment

by:sharpapproach
ID: 38735987
This is how I got it to work...
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Overview: This article:       (a) explains one principle method to cross-reference invoice items in Quickbooks®       (b) explores the reasons one might need to cross-reference invoice items       (c) provides a sample process for creating a M…
Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
With Microsoft Access, learn how to specify relationships between tables and set various options on the relationship. Add the tables: Create the relationship: Decide if you’re going to set referential integrity: Decide if you want cascade upda…

860 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question