How do I show Query Results on a Subform instead of a Datasheet view.

ChrisBush

New Member
Joined
Jan 31, 2013
Messages
4
I'm building a database that holds a lot of Lessons that are taught at a university. Currently, I have a form with labels, text fields and a button that runs my search query. So for instance if a user entered 'Java Programming' into the Lesson Name text field and clicked search, the query would run and all of the lessons with that name would be displayed into a datasheet view. My question is, how do I get these results to display on a sub-form when I click my run query/search button on my main form instead of them being shown in a datasheet. Thanks.
 

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number
Build your sub-form off the query.

In the sub-form 'properties' on the 'Format' tab change the 'Default View' from DataSheet to whatever you want.

HTH

Colin
 
Upvote 0
I cant see a default view on the subform properties format tab. are there any extra steps?
 
Upvote 0

Forum statistics

Threads
1,215,066
Messages
6,122,948
Members
449,095
Latest member
nmaske

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top