[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 86
  • Last Modified:

Get rid of ID prompt upon form open - MS Access

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
dbfromnewjersey
Asked:
dbfromnewjersey
  • 2
1 Solution
 
Scott McDaniel (Microsoft Access MVP - EE MVE )Infotrakker SoftwareCommented:
Make sure your Master and Child link fields are set correctly for the Subform Control object (on the main form).
0
 
dbfromnewjerseyAuthor Commented:
And how do I do that?
0
 
dbfromnewjerseyAuthor Commented:
Got it. Thanks.
0

Featured Post

Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now