Solved

Get rid of ID prompt upon form open - MS Access

Posted on 2016-10-25
3
51 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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

Phishing attempts can come in all forms, shapes and sizes. No matter how familiar you think you are with them, always remember to take extra precaution when opening an email with attachments or links.
In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
In Microsoft Access, learn different ways of passing a string value within a string argument. Also learn what a “Type Mis-match” error is about.

740 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