A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Setting Up & Running Reports
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Printing a report for a single ID



 
 
Thread Tools Display Modes
  #1  
Old March 25th, 2010, 02:21 AM posted to microsoft.public.access.reports
forest8
external usenet poster
 
Posts: 196
Default Printing a report for a single ID

Hi there

Currently when I print my report, I see all the records in the database.

I would like to have only the reports for a single ID.

In my report, I can't find out where to put the query or the Master Link or
Child Link.

Any advice is greatly appreciated.


  #2  
Old March 25th, 2010, 03:10 AM posted to microsoft.public.access.reports
Duane Hookom[_4_]
external usenet poster
 
Posts: 316
Default Printing a report for a single ID

There are several ways to accomplish this. One method is to base the report
on a query that has your control on your form as the criteria. Under the
[Single ID] field you would enter something like:
Forms!frmYourFormName!txtSingleID

I prefer to use the Command Button wizard to create a button that opens the
report. I then modify the code so it conforms to the method described at
http://www.mvps.org/access/reports/rpt0002.htm.

--
Duane Hookom
MS Access MVP


"forest8" wrote in message
...
Hi there

Currently when I print my report, I see all the records in the database.

I would like to have only the reports for a single ID.

In my report, I can't find out where to put the query or the Master Link
or
Child Link.

Any advice is greatly appreciated.


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 04:04 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.