A Multi-Page Report

D

Dwayne Conyers

We have a report that is formatted for one printed page but the fields are
expandable and some data records make two or three-page reports.

It looks fine when viewing the report in Access and when output to a
snapshot. We need to export to Word format but we lose formatting of header
and footer and also the last page comes out blank (data does not print).

Need clues on how to make this perform consistently.
 
L

Larry Linson

What version of Access? What Service Pack/Release? What kind of formatting
do you lose -- if it is graphics, e.g., lines and rectangles and the like,
that is normal going to RTF. I have not, however, experienced loss of data
in export to RTF. I can suggest that you take a look at MVP Stephen Lebans'
site, http://www.lebans.com for information on reporting, including RTF
topics.

Larry Linson
Microsoft Access MVP
 
D

Dwayne Conyers

Larry:

Version information on the dev box follows:

Microsoft Access, Version 10.0, Build 4302, ADO version 2.7, VBA version
6.04, Jet version 4.0
References: VBA, Access, stdole, ADODB, DAO

Add-Ins 3
Name #401
Installed Yes
Creator LIME
GUID {C76E34ED-18CE-4F39-AFD9-909B3BBEFEEE}

Name Microsoft XML Spreadsheet Add-In for Access 2002
Installed Yes
Creator LIME
GUID {8FABF062-6C54-44A7-B74E-AF44335BB3F9}

Name #401
Installed No
Creator LIME
GUID {058C1536-2201-11D2-BFC1-00805F858323}

Description Excel
Path C:\WINDOWS\System32\msexcl35.dll
Version 3.51.0623.2

Description Exchange
Path C:\WINDOWS\System32\msexch35.dll
Version 3.51.0623.0

Description Jet 2.x
Path C:\WINDOWS\System32\Msrd2x35.DLL
Version 3.51.0623.0

Description Jet 3.5
Path Not Available
Version

Description Lotus
Path C:\WINDOWS\System32\MSLTUS35.DLL
Version 3.51.0623.0

Description ODBC
Path Not Available
Version

Description Paradox
Path C:\WINDOWS\System32\mspdox35.dll
Version 3.51.0623.0

Description Text
Path C:\WINDOWS\System32\MSTEXT35.DLL
Version 3.51.0623.0

Description Xbase
Path C:\WINDOWS\System32\MSXBSE35.DLL
Version 3.51.0623.0


Regarding the problem we are having: The report has a header, detail and
footer. In snapshot mode, we see three pages properly executed. In
Microsoft Word format, the first (of three) pages is fine... but the second
page has detail on top... the header beneath... and more detail (footer is
okay). The third page has no header but missing detail information (footer
is okay). Also, labels are being truncated. In design mode, the labels
are sized to twice the width of the text displayed, yet in Word the labels
are missing the last few letters of the description.

Checked MSDN for any tips and saw reference to Knowledge Base PSS ID Number:
2881153 but this seems to only apply to Access 2000 -- we have Access 2002
SP-2. However, this seems to be the same issue we were dealing with
previously.

In the case that the Word export function is irreparable... we noticed that
XML format seems to be created correctly... are there any stylesheet
templates we might use with an XML export?
 
D

Dwayne Conyers

Larry:

Version information on the dev box follows:

Microsoft Access, Version 10.0, Build 4302

ADO version 2.7

VBA version 6.04

Jet version 4.0

References: VBA, Access, stdole, ADODB, DAO

Add-Ins 3
Name #401
Installed Yes
Creator LIME
GUID {C76E34ED-18CE-4F39-AFD9-909B3BBEFEEE}

Name Microsoft XML Spreadsheet Add-In for Access 2002
Installed Yes
Creator LIME
GUID {8FABF062-6C54-44A7-B74E-AF44335BB3F9}

Name #401
Installed No
Creator LIME
GUID {058C1536-2201-11D2-BFC1-00805F858323}

Description Excel
Path C:\WINDOWS\System32\msexcl35.dll
Version 3.51.0623.2

Description Exchange
Path C:\WINDOWS\System32\msexch35.dll
Version 3.51.0623.0

Description Jet 2.x
Path C:\WINDOWS\System32\Msrd2x35.DLL
Version 3.51.0623.0

Description Jet 3.5
Path Not Available
Version

Description Lotus
Path C:\WINDOWS\System32\MSLTUS35.DLL
Version 3.51.0623.0

Description ODBC
Path Not Available
Version

Description Paradox
Path C:\WINDOWS\System32\mspdox35.dll
Version 3.51.0623.0

Description Text
Path C:\WINDOWS\System32\MSTEXT35.DLL
Version 3.51.0623.0

Description Xbase
Path C:\WINDOWS\System32\MSXBSE35.DLL
Version 3.51.0623.0


Regarding the problem we are having: The report has a
header, detail and footer. In snapshot mode, we see three
pages properly executed. In Microsoft Word format, the
first (of three) pages is fine... but the second page has
detail on top... the header beneath... and more detail
(footer is okay). The third page has no header but
missing detail information (footer is okay). Also,
labels are being truncated. In design mode, the labels
are sized to twice the width of the text displayed, yet in
Word the labels are missing the last few letters of the
description.

Checked MSDN for any tips and saw reference to Knowledge
Base PSS ID Number: 2881153 but this seems to only apply
to Access 2000 -- we have Access 2002 SP-2. However, this
seems to be the same issue we were dealing with previously.

In the case that the Word export function is
irreparable... we noticed that XML format seems to be
created correctly... are there any stylesheet templates we
might use with an XML export?



Larry Linson said:
What version of Access? What Service Pack/Release? What kind of formatting
do you lose -- if it is graphics, e.g., lines and rectangles and the like,
that is normal going to RTF. I have not, however, experienced loss of data
in export to RTF. I can suggest that you take a look at
MVP Stephen
Lebans'
site, http://www.lebans.com for information on reporting, including RTF
topics.

Larry Linson
Microsoft Access MVP
page but the fields
are
 
L

Larry Linson

Checked MSDN for any tips and saw reference
to Knowledge Base PSS ID Number: 2881153
but this seems to only apply to Access 2000 --
we have Access 2002 SP-2. However, this
seems to be the same issue we were dealing with
previously.

I didn't get any results searching either the Knowledge Base nor MSDN on
"2881153" -- could there have been a typo in entering it here? Just because
the article has not been updated to indicate 2002 doesn't mean that it _does
not apply_.

There have been reports of formatting problems in saving to RTF (Rich Text
Format, which is used in exporting to Word). Some, like yours, are more
drastic than what I have encoutered personally.

Was there a workaround, or a fix, indicated in that article? I would guess
that if there was, you'd have tried it, and as we are still pursuing this,
that it did not work.

So, I think the next step is to look for alternatives. I have had better
luck saving Reports as HTML pages, although graphics are still omitted and I
have seen minor, truly minor, formatting differences.

I'm not aware of a report stylesheet for XML, but I can't recall that I have
exported a _report_ as XML. Worked nicely for Tables... in and out, but I
didn't have non-Access software to try to use the XML tables, when I tested
it.

If you find that 2881153 is in error, please post back to clarify.

Larry Linson
Microsoft Access MVP
 
D

Dwayne Conyers

Sorry, there was a typo. The article is:

Knowledge Base

ACC2000: When You Export an Access Report the Memo Field
Is Truncated

PSS ID Number: 281153

Article Last Modified on 12/16/2003

This article was previously published under Q281153

The symptoms here are truncation of a memo field. This
was part of our problem... but extended beyond this.

We have sort of a workaround where we replace the page
header and footer with report header and footer.

This means we can't import the page numbering that we
wanted at the bottom but we do have a non-repeating
header, so that is acceptable.

We can't seem to have page numbering... it blows up in
page footer and in report footer... so if there are any
other workarounds we'd be willing to try.

For the record, HTML also had the same results and it
seems to be an issue of not using page hdr/ftr and not
using a report ftr.
 
A

Alick [MSFT]

Hi Dwayne,

As for exporting an Access 2002 report into RFT format (Word) the memo
field is not exported/ runcated; we can try to change the printer to a
Generic/ Text Only printer to resovle the issue; Please perform the
following steps:

1. Click Start, Settings and then Printers.
2. Click "Add Printer" to bring up the Add Printer Wizard.
3. Select "Local Printer" and then click Next.
4. In the Manufacturers list, click Generic.
5. In the Make/Model or Printers list, click Generic / Text Only, and then
click Next to complete the Wizard.
6. Set the "Generic/Text only" printer as the default printer.
7. Open the database and then preview the report.
8. Export the report to .rtf file.
9. Check the .rtf file and note that there is no truncation occurred in the
output file.
10. Change the default printer to your original printer.

Please feel free to reply to the threads if you have any concerns or
questions.




Sincerely,

Alick Ye, MCSD
Product Support Services
Microsoft Corporation
Get Secure! - <www.microsoft.com/security>

This posting is provided "AS IS" with no warranties, and confers no rights.



--------------------
| Content-Class: urn:content-classes:message
| From: "Dwayne Conyers" <[email protected]>
|
| Sorry, there was a typo. The article is:
|
| Knowledge Base
|
| ACC2000: When You Export an Access Report the Memo Field
| Is Truncated
|
| PSS ID Number: 281153
|
| Article Last Modified on 12/16/2003
|
| This article was previously published under Q281153
|
| The symptoms here are truncation of a memo field. This
| was part of our problem... but extended beyond this.
|
| We have sort of a workaround where we replace the page
| header and footer with report header and footer.
|
| This means we can't import the page numbering that we
| wanted at the bottom but we do have a non-repeating
| header, so that is acceptable.
|
| We can't seem to have page numbering... it blows up in
| page footer and in report footer... so if there are any
| other workarounds we'd be willing to try.
|
| For the record, HTML also had the same results and it
| seems to be an issue of not using page hdr/ftr and not
| using a report ftr.
|
|
| >-----Original Message-----
| >"Dwayne Conyers" wrote
| >
| > > Checked MSDN for any tips and saw reference
| > > to Knowledge Base PSS ID Number: 2881153
| > > but this seems to only apply to Access 2000 --
| > > we have Access 2002 SP-2. However, this
| > > seems to be the same issue we were dealing with
| > > previously.
| >
| >I didn't get any results searching either the Knowledge
| Base nor MSDN on
| >"2881153" -- could there have been a typo in entering it
| here? Just because
| >the article has not been updated to indicate 2002 doesn't
| mean that it _does
| >not apply_.
| >
| >There have been reports of formatting problems in saving
| to RTF (Rich Text
| >Format, which is used in exporting to Word). Some, like
| yours, are more
| >drastic than what I have encoutered personally.
| >
| >Was there a workaround, or a fix, indicated in that
| article? I would guess
| >that if there was, you'd have tried it, and as we are
| still pursuing this,
| >that it did not work.
| >
| >So, I think the next step is to look for alternatives. I
| have had better
| >luck saving Reports as HTML pages, although graphics are
| still omitted and I
| >have seen minor, truly minor, formatting differences.
| >
| >I'm not aware of a report stylesheet for XML, but I can't
| recall that I have
| >exported a _report_ as XML. Worked nicely for Tables...
| in and out, but I
| >didn't have non-Access software to try to use the XML
| tables, when I tested
| >it.
| >
| >If you find that 2881153 is in error, please post back to
| clarify.
| >
| > Larry Linson
| > Microsoft Access MVP
| >
| >
| >.
| >
|
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top