Solved

Get rid of ID prompt upon form open - MS Access

Posted on 2016-10-25
3
40 Views
Last Modified: 2016-10-25
I have a subform on a form.  The subform's record source is a query that retrieves all records where the Yes/No field's value is No (i.e. 0).

The table's key is the ID field.

When I open the form, I'm being prompted for a parameter value (a value for the ID field).  Therefore, only one record is populating the subform (after I enter a value).   I'm trying to get rid the prompt. When the form is opened, I just want the subform to be automatically populated with the results of my query.  The query works fine on it's own.  It doesn't prompt me for any input.  How come I'm being prompted when I try to display the query results in a subform and how to I get rid this behavior? Thank you.
0
Comment
Question by:dbfromnewjersey
  • 2
3 Comments
 
LVL 84

Accepted Solution

by:
Scott McDaniel (Microsoft Access MVP - EE MVE ) earned 500 total points
ID: 41858939
Make sure your Master and Child link fields are set correctly for the Subform Control object (on the main form).
0
 

Author Comment

by:dbfromnewjersey
ID: 41858981
And how do I do that?
0
 

Author Comment

by:dbfromnewjersey
ID: 41859418
Got it. Thanks.
0

Featured Post

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

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

QuickBooks® has a great invoice interface that we were happy with for a while but that changed in 2001 through no fault of Intuit®. Our industry's unit names are dictated by RUS: the Rural Utilities Services division of USDA. Contracts contain un…
I see at least one EE question a week that pertains to using temporary tables in MS Access.  But surprisingly, I was unable to find a single article devoted solely to this topic. I don’t intend to describe all of the uses of temporary tables in t…
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.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

770 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