Open the subform and display the properties. Look at the data source, which you stated was a table. To the right of the datasource field in the properties window, you will see a ... button. Click on it and you should invoke the query builder. The basics of what you have your form based off of...