Solved

Get rid of ID prompt upon form open - MS Access

Posted on 2016-10-25
3
54 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

Question has a verified solution.

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

Suggested Solutions

Access custom database properties are useful for storing miscellaneous bits of information in a format that persists through database closing and reopening.  This article shows how to create and use them.
You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
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…
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.

738 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