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  

many reports into one pdf



 
 
Thread Tools Display Modes
  #1  
Old April 14th, 2005, 10:01 PM
kunon2
external usenet poster
 
Posts: n/a
Default many reports into one pdf

Hi,

I have 4 reports; RPT1, RPT2, RPT3, RPT4.
My goal is to compile these 4 reports into a single pdf file.
When I print a single report into pdf, I used print-acrobat distiller option.
Should I change options in pdf or can I do it in Access?
Thanks.
  #2  
Old April 14th, 2005, 10:39 PM
RobertSMS
external usenet poster
 
Posts: n/a
Default

That's a good question. I've just been creating separate .PDF files for each
report and then assembling them in Acrobat. It'd be much more convenient if
there was an option to append to an existing Acrobat file, but I'm not aware
that there is. Maybe someone else will know. BTW, what do you do about page
numbers?

"kunon2" wrote:

Hi,

I have 4 reports; RPT1, RPT2, RPT3, RPT4.
My goal is to compile these 4 reports into a single pdf file.
When I print a single report into pdf, I used print-acrobat distiller option.
Should I change options in pdf or can I do it in Access?
Thanks.

  #3  
Old April 15th, 2005, 05:53 AM
kunon2
external usenet poster
 
Posts: n/a
Default

Regarding the page number, I created tables for the last pages numbers, and
then use them in the next report.
  #4  
Old April 15th, 2005, 12:51 PM
RobertSMS
external usenet poster
 
Posts: n/a
Default

Interesting. How do you get the last page numbers into a table?

I've looked through the Acrobat documentation and it looks to me like it
will always create a new file when converting an Office document to .PDF.

"kunon2" wrote:

Regarding the page number, I created tables for the last pages numbers, and
then use them in the next report.

  #5  
Old April 15th, 2005, 02:40 PM
kunon2
external usenet poster
 
Posts: n/a
Default

Currently, my reports are not compiled yet, but they have consecutive page
numbers.

This is what fredg suggested.

Add a new table to the database.
Add one Field, Number datatype, Integer Field Size.
Name this field "LastPage"
Enter a 0 as it's value.
Name this table "tblLastPage"

Code the first Report Detail Print event:
CurrentDb.Execute "Update tblLastPage Set tblLastPage.LastPage = " &
Me.[Pages] & ";", dbFailOnError

Code the second Report Page Footer Format event:
Me.[Page] = DLookUp("[LastPage]","tblLastPage") + 1

Done!
Good luck.
  #6  
Old April 15th, 2005, 02:49 PM
kunon2
external usenet poster
 
Posts: n/a
Default

Currently, my reports are not compiled yet, but they have consecutive page
numbers.

This is what fredg suggested.

Add a new table to the database.
Add one Field, Number datatype, Integer Field Size.
Name this field "LastPage"
Enter a 0 as it's value.
Name this table "tblLastPage"

Code the first Report Detail Print event:
CurrentDb.Execute "Update tblLastPage Set tblLastPage.LastPage = " &
Me.[Pages] & ";", dbFailOnError

This is a corrected part.
In the second report, at the "page number" text box property,
set "Data", "Control Source" as
=[Page]+DLookUp("[LastPage]","tblLastPage")

Really Done!
Good luck.
 




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
Send Access reports via email - password protect [email protected] Setting Up & Running Reports 2 May 25th, 2005 12:28 PM
Blank Pages at the beginning of Parent Report with 5 child or sub reports Cyndy Sheehan Setting Up & Running Reports 1 March 4th, 2005 10:36 PM
Need Reports to Reference New Queries Jenn General Discussion 0 January 31st, 2005 06:17 PM
Shifting Weeks for Quarterly Reports setoFairfax General Discussion 1 September 8th, 2004 05:43 PM
Need help w/ reports Tom Setting Up & Running Reports 0 June 25th, 2004 05:59 PM


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