Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Reports / Printing / April 2008

Tip: Looking for answers? Try searching our database.

How to pull up data from an existing select query

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Dominick D. - 24 Apr 2008 15:47 GMT
Hello, Access Reporting Experts,

I want to create a report that is based on an existing select query. I want
to show the results of this query in a report. How do I bound the output of a
select query to the detail section of a report, so that, when I run the
query, when I execute a report, the output of the query will show in the
detail section? Also, how would I set all this up as a macro? Thanks.
Marshall Barton - 24 Apr 2008 17:01 GMT
>I want to create a report that is based on an existing select query. I want
>to show the results of this query in a report. How do I bound the output of a
>select query to the detail section of a report, so that, when I run the
>query, when I execute a report, the output of the query will show in the
>detail section? Also, how would I set all this up as a macro? Thanks.

Reports open their record source query.  You can't open a
query and the expect a report to use it.

In the report's design, set the report's Record Source
property to the name of your query.  THen you can use a
macro with the OpenReport action to display the query's
records in the report.

Signature

Marsh
MVP [MS Access]

Dominick D. - 24 Apr 2008 20:46 GMT
Thanks, but I've already discovered how to extract the query results and
display them in a report.

> >I want to create a report that is based on an existing select query. I want
> >to show the results of this query in a report. How do I bound the output of a
[quoted text clipped - 9 lines]
> macro with the OpenReport action to display the query's
> records in the report.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.