Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

How can i display the results of a query on a form ??

How can i display the results of a query on a form ??

How can i display the results of a query on a form ??


IS it possible to display the results of query on to a form ? I thought of using a list box, but whilst using the wizard it does like the query that i'm trying to use, so i can't finish setting up the list box.

Cheers in advance,


RE: How can i display the results of a query on a form ??

You can set a form's Record Source property to the query. Then any controls you use on the form will display the query results.

If you want to display it on an existing form with either a blank or a different Record Source, you can display it in a subform instead. First create a form to display the query (set Record Source to the query name). Set up any controls you need, and specify Default View as either Continuous Forms or Datasheet, depending on how you want it to look. Save that form, and then drag it from the database window to a blank area in your existing form. That will create a subform control that displays the query results form.

If your main form has a Record Source and you want the query results to be restricted to records that go with the one the main form is showing, set the subform control's Link Master and Link Child fields to the common field(s) shared by the main form and subform's underlying recordsets, respectively. Otherwise just clear these properties, and the subform will display all records in its recordset.

Rick Sprague

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close