473,398 Members | 2,380 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

Long report

I have a contract document that is about 20 pages long with various data
base fields in it. I cannot create an Access report that long so I have had
to do it as 5 seperate reports. There are some pages where the text box is
set to can grow because the users text could be lengthy. The number of pages
in the report is therefore unknown because it depends on the users text.
My problem is that I need to print all 5 reports with a continous page
numbering (starting page 1 on report 1 and ending on the last page of report
5). I cannot fix the numbering on say report 2 because I do not know the
number of pages in report 1 (etc.)
Is there any way of doing this.
Any suggestions appreciated. Thanks in advance.

Alex
Nov 13 '05 #1
3 3104
On Fri, 08 Oct 2004 13:44:00 GMT, "Paradigm" <al********@hotmail.com>
wrote:

A better approach might be to use Word for your document, and perform
a MailMerge. Now you have a single doc, and no problems with page
numbers. Let each app do what it is best at.

-Tom.

I have a contract document that is about 20 pages long with various data
base fields in it. I cannot create an Access report that long so I have had
to do it as 5 seperate reports. There are some pages where the text box is
set to can grow because the users text could be lengthy. The number of pages
in the report is therefore unknown because it depends on the users text.
My problem is that I need to print all 5 reports with a continous page
numbering (starting page 1 on report 1 and ending on the last page of report
5). I cannot fix the numbering on say report 2 because I do not know the
number of pages in report 1 (etc.)
Is there any way of doing this.
Any suggestions appreciated. Thanks in advance.

Alex


Nov 13 '05 #2
I have used Word for documents like this before but in this case I do not
think it suitable. I need to manage revisions, costings, etc. The problem
with Word (apart from having to manage the files produced) is that the user
can then edit the document and make changes that are not recorded elsewhere.
There are also a load of optional clauses where some need to be scored out.
I really need an Access solution.
Thanks
Alex
"Tom van Stiphout" <no*************@cox.net> wrote in message
news:3e********************************@4ax.com...
On Fri, 08 Oct 2004 13:44:00 GMT, "Paradigm" <al********@hotmail.com>
wrote:

A better approach might be to use Word for your document, and perform
a MailMerge. Now you have a single doc, and no problems with page
numbers. Let each app do what it is best at.

-Tom.

I have a contract document that is about 20 pages long with various data
base fields in it. I cannot create an Access report that long so I have hadto do it as 5 seperate reports. There are some pages where the text box isset to can grow because the users text could be lengthy. The number of pagesin the report is therefore unknown because it depends on the users text.
My problem is that I need to print all 5 reports with a continous page
numbering (starting page 1 on report 1 and ending on the last page of report5). I cannot fix the numbering on say report 2 because I do not know the
number of pages in report 1 (etc.)
Is there any way of doing this.
Any suggestions appreciated. Thanks in advance.

Alex

Nov 13 '05 #3
On Fri, 08 Oct 2004 13:44:00 GMT, Paradigm wrote:
I have a contract document that is about 20 pages long with various data
base fields in it. I cannot create an Access report that long so I have had
to do it as 5 seperate reports. There are some pages where the text box is
set to can grow because the users text could be lengthy. The number of pages
in the report is therefore unknown because it depends on the users text.
My problem is that I need to print all 5 reports with a continous page
numbering (starting page 1 on report 1 and ending on the last page of report
5). I cannot fix the numbering on say report 2 because I do not know the
number of pages in report 1 (etc.)
Is there any way of doing this.
Any suggestions appreciated. Thanks in advance.

Alex


Add a new table to your database.

TableName: tblCountPages
Field Name: PageCount
Datatype: Number
Field Size: Integer

Set the value of the field to 0 (Zero).
=========

In the Report Open event of ONLY the first report in the series:

CurrentDb.Execute "Update tblCountPages Set tblCountPages.PageCount =
0;", dbFailOnError
====================

Code the Report Header Format event of each report:

[Page] = [Page] + DLookup("[PageCount]", "tblCountPages")
==================

Code each Report Footer Print event:

CurrentDb.Execute "Update tblCountPages set tblCountPages.PageCount =
" & [Page], dbFailOnError
================

Note: You cannot use a control in any of the reports to calculate
[Pages] i.e. = [Page] & " of " & [Pages], as the first reports will
not know how many total pages there are.
--
Fred
Please only reply to this newsgroup.
I do not reply to personal email.
Nov 13 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

88
by: Matt | last post by:
Hi folks. Can you help with some questions? I gather that some types supported by g++ are nonstandard but have been proposed as standards. Are the long long and unsigned long long types still...
4
by: Trevor Best | last post by:
I have a report that's fairly simple, page headers and footers, detail has a subreport in (can vary in length). The customer wanted a signature block for them, their client and 3rd party. This was...
8
by: Jerry | last post by:
I have an off-the-shelf app that uses an Access database as its backend. One of the tables contains a field with an "OLE Object" datatype. I'm writing some reports against this database, and I...
1
by: Claudia Fong | last post by:
Hi, I want to know how should I do to display a long date format in a report (designed in Ms-access) but it only shows July 29, 2005 instead of the whole expression Friday, July 29, 2005 ...
0
by: Rahul Chatterjee | last post by:
Hello All I have designed a dotnet application using VB which basically takes a selection and passes value to a crystal report which in turn passes the value to a Stored procedure. After the...
4
by: justin tyme | last post by:
Hello Experts! I would like to combine (which may not be the correct technical term) two text fields from the same table in a query. Specifically, text field A and text field B are both lists of...
9
by: Fish Womper | last post by:
I am at best a part time developer of Access databases. I use Access 2.0, as this is all my employer has on its computers. Even so, to use this ancient version requires a fairly convoluted...
3
by: nj609eagle | last post by:
Recently and without warning, a report that I was using in my VB.NET 2003 application started to take 10 minutes to load. It also take thisamount of time to open in the deisgner. I'm using a...
14
by: lmttag | last post by:
Hello. We're developing an ASP.NET 2.0 (C#) application and we're trying to AJAX-enable it. We're having problem with a page not showing the page while a long-running process is executing. So,...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.