Get rid of ID prompt upon form open - MS Access
Posted on 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.