Computing.Net > Forums > Office Software > Microsoft Access printing a report

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Microsoft Access printing a report

Reply to Message Icon

Name: Pookers27
Date: June 3, 2005 at 07:27:46 Pacific
OS: Windows XP
CPU/Ram: Unsure
Comment:

I have created a form and a report for a database. The problem is I would like to print out one report at a time for the current data on the screen not for the entire database as it keeps trying to do. When I try to even just view a report for the current information on the screen it gives me the report for the first client in the database, not the current client I am looking at on the screen. If anyone can help me solve this problem, I would appreciate it!!



Sponsored Link
Ads by Google

Response Number 1
Name: smithdk
Date: June 3, 2005 at 19:30:08 Pacific
Reply:

More than likely the control source of the report is your main table with no restrictions which is why it is showing everything. You need to modify the control source of the report so it only shows the name on the form. To change this, goto design view of the report and then select properties of the report. On the control source select the 3 dots just to the right and it will ask if you want to create a query. Select yes. The screen will change and show your table at the top and columns at the bottom. Move all of the fields in the table you want shown in the report to the columns. To restrict the records, there is a criteria field for each column. You need to restrict it for your clientID column (whatever the name of your column that is unique for your clients). In the criteria section you need to put in '[forms]![form name]![control name]'
You will have to fill in the form name and control name. The control name from the form will contain the unique client name. Here is a link to a screenshot of a query builder:

http://www.functionx.com/access/Lesson29.htm

Scroll down to the Yugo National Bank.


0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Office Software Forum Home


Sponsored links

Ads by Google


Results for: Microsoft Access printing a report

TimeSummary in Microsoft Access www.computing.net/answers/office/timesummary-in-microsoft-access/7211.html

MS Access -- print fields www.computing.net/answers/office/ms-access-print-fields/4700.html

Microsoft Access -Module Not Found? www.computing.net/answers/office/microsoft-access-module-not-found/467.html