I am trying to open a table filtered for a specific selection from a button on a form.
I can not figure this out. I have created a query that displays the contents of the table, but can't figure out how to get it to filter.
OpenQuery doesn't appear to have a way to pass parameters. RunSQL I have read is for action sql, inserts, deletes, etc, not just selects.
The parameter I want to pass is determined by which line item on the form contains the button clicked.
I can not figure this out. I have created a query that displays the contents of the table, but can't figure out how to get it to filter.
OpenQuery doesn't appear to have a way to pass parameters. RunSQL I have read is for action sql, inserts, deletes, etc, not just selects.
The parameter I want to pass is determined by which line item on the form contains the button clicked.