Solved

Access Subform doesn't show underlying Data

Posted on 2012-12-27
7
253 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
Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 

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

Complete Microsoft Windows PC® & Mac Backup

Backup and recovery solutions to protect all your PCs & Mac– on-premises or in remote locations. Acronis backs up entire PC or Mac with patented reliable disk imaging technology and you will be able to restore workstations to a new, dissimilar hardware in minutes.

Join & Write a Comment

When you are entering numbers in a speadsheet, and don't remember what 6×7 is, you just type “=6*7" instead. It works in every cell! This is not so in Access. To enter the elusive 42 in a text box, you have to find a calculator, and then copy the re…
In a multiple monitor setup, if you don't want to use AutoCenter to position your popup forms, you have a problem: where will they appear?  Sometimes you may have an additional problem: where the devil did they go?  If you last had a popup form open…
What’s inside an Access Desktop Database. Will look at the basic interface, Navigation Pane (Database Container), Tables, Queries, Forms, Report, Macro’s, and VBA code.
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.

744 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now