A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

subform displays no records when its recordsource is a query



 
 
Thread Tools Display Modes
  #1  
Old December 3rd, 2009, 06:43 PM posted to microsoft.public.access.forms
Bret[_5_]
external usenet poster
 
Posts: 1
Default subform displays no records when its recordsource is a query

I have a subform based on a query; for simplicity the query is just
SELECT * FROM [MyTable]. When I test this subform standalone (i.e. not
nested in the parent form where it will eventually need to go), it
correctly queries the underlying table and I'm able to navigate to all
the records in that table.

Problem: when I drop this subform into it's parent form, it doesn't
show any records! I've disabled all the master/child filtering options
on the subform control, but it doesn't seem to make a difference. The
subform shows no records.

Here's the kicker: when I change the subform's recordsource to
[MyTable] (instead of a query based on [MyTable]), everything works
correctly and I see all the records (even when it's nested in the
master form). Seems like a bug; thoughts?
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 11:42 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.