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  

Restrict Report to Current Record



 
 
Thread Tools Display Modes
  #1  
Old July 15th, 2004, 06:55 PM
Katherine R
external usenet poster
 
Posts: n/a
Default Restrict Report to Current Record

Below, I've inserted a copy of a posting that was helpful to me. I can now print a report for each record in my form even if the subform is blank. However, it has created another issue I need help with. I placed a command button on my form to print the report. Prior to editing the join line as suggested in the answer below, I could click the button from record 6 in my form and generate a report of record 6. Since editing the join line, clicking the button generates a report of record 1 followed by 2, 3, 4, etc. I would like to restrict the report I print to only the record that is open on the form. Is there an easy way to do this? I’m a beginner. Thanks to anyone that can help.

[Question:
I set up a report from two tables - "Staff Table" contains details of all
staff within the company. "Courses Table" contains staff names plus all
courses they have completed.

Each table contains staff's first name and surname in two separate fields.
I have linked these tables using these two fields in order to create a form
and a subform.

I have now created a report with all this information on. However, the
report only shows those staff who have completed courses, and not those who
have not yet completed a course.

I want the report to show ALL staff and the courses they have completed
(if any). Therefore, how do I get the report to also show staff who have no
data in the Course Completed field?

Answer:
In query design, double-click the line joining your Staff Table to your
Course Completed table.

Access opens a dialog that gives you 3 options.

Choose the one that says:
All records from Staff Table, and any matches from ...

Allen Browne - Microsoft MVP. ]
  #2  
Old July 15th, 2004, 07:23 PM
Katherine R
external usenet poster
 
Posts: n/a
Default Restrict Report to Current Record

Please disregard... I apologize. I see this has already been answered by Steve Schapel in the posting below this one. Thanks.

"Katherine R" wrote:

Below, I've inserted a copy of a posting that was helpful to me. I can now print a report for each record in my form even if the subform is blank. However, it has created another issue I need help with. I placed a command button on my form to print the report. Prior to editing the join line as suggested in the answer below, I could click the button from record 6 in my form and generate a report of record 6. Since editing the join line, clicking the button generates a report of record 1 followed by 2, 3, 4, etc. I would like to restrict the report I print to only the record that is open on the form. Is there an easy way to do this? I’m a beginner. Thanks to anyone that can help.

[Question:
I set up a report from two tables - "Staff Table" contains details of all
staff within the company. "Courses Table" contains staff names plus all
courses they have completed.

Each table contains staff's first name and surname in two separate fields.
I have linked these tables using these two fields in order to create a form
and a subform.

I have now created a report with all this information on. However, the
report only shows those staff who have completed courses, and not those who
have not yet completed a course.

I want the report to show ALL staff and the courses they have completed
(if any). Therefore, how do I get the report to also show staff who have no
data in the Course Completed field?

Answer:
In query design, double-click the line joining your Staff Table to your
Course Completed table.

Access opens a dialog that gives you 3 options.

Choose the one that says:
All records from Staff Table, and any matches from ...

Allen Browne - Microsoft MVP. ]

 




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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Restrict Report To Current Record Katherine R Setting Up & Running Reports 1 July 15th, 2004 07:23 PM
From a report record to the specific record in a form Sierras Using Forms 1 June 18th, 2004 02:54 PM
Button to print current record only Fatz Using Forms 6 June 17th, 2004 01:58 PM
email report with current record Mario Setting Up & Running Reports 1 May 26th, 2004 10:04 PM
Printing report for current record Linda Setting Up & Running Reports 1 May 26th, 2004 05:46 PM


All times are GMT +1. The time now is 01:45 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.