473,387 Members | 1,423 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,387 software developers and data experts.

Truncation of Access Report after export to RTF


This is not a question but rather an answer, or at least a clue.

Like others, I had experienced seemingly random truncation of text
when exporting a perfectly good Access report to RTF. Or rather, one
person experienced it when another didn't, running the same database
on the same computer, both accessing it via Remote Desktop Connection.

This problem made no sense until we found that we had different screen
resolutions, and that when we changed screen resolution (on the client
computers) the resulting RTF export (on the host computer) changed.

I have no science to offer. A resolution that worked on one monitor
would cause problems on another monitor with a different physical
size. So experimentation seems necessary. But the surprising fact is
that Access may export something different to RTF depending on your
screen resolution.

One factor may be our use of fTextWidth in the VB code behind the
report. Maybe. It would be too much work for me to try to reproduce
this problem after changing our report. So I can only suggest that if
you have the problem, experiment with screen resolution.

Notes sent to my e-mail address are automatically deleted.

Aug 7 '07 #1
2 2106
Further to the above, I put some Debug.Print into the fTextWidth code
to find out how different screen resolutions affect the computation of
text width. There was no difference at all. Therefore I don't see a
way to control this behavior using VB code. The bug is somewhere deep
in Access.

Aug 9 '07 #2
Composer wrote:
Further to the above, I put some Debug.Print into the fTextWidth code
to find out how different screen resolutions affect the computation of
text width. There was no difference at all. Therefore I don't see a
way to control this behavior using VB code. The bug is somewhere deep
in Access.
It's been there forever. It's not fixable. The RTF option is only suitable
for simple tabular output. Anything with growing text will have this
problem. It's just a matter of degree.

Use a PDF writer instead.

--
Rick Brandt, Microsoft Access MVP
Email (as appropriate) to...
RBrandt at Hunter dot com
Aug 9 '07 #3

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

Similar topics

1
by: Joris Kempen | last post by:
Hi people, I know that the question has come around sometimes: How to open an Access Report using ASP and export it to for example RTF. I'm trying to implement the first method of David...
2
by: Vikrant | last post by:
Hey Friends I need to export an Access Report using a filter. I am using the method OutputTo m_pDoCmd->OutputTo( 3, // asOutputReport COleVariant(strReportName), // <report name>...
7
by: Pat | last post by:
I would like to send the Print Preview of a MS Access form to a Snapshot file. The form contains an OLE graph. BACKGROUND A snapshot of a report is possible. If I could I would use a report to...
15
by: Mark C | last post by:
All, I have exhaustingly been looking through the newsgroups in search of a way to systemically output an Access 97 report to a pdf file using the full version of Adobe Acrobat. I want the user...
3
by: Jorge Cecílio | last post by:
Hi! I would like to export some MS-Access reports output to pdf. However, the only possibility offered by Access (afaik) for me to export formatted output is snp (snapshot) (I use MS-Office...
2
by: cjay85 | last post by:
I wish to direct reports that I have created in Access to Excel enabling me to produce a graphical output from Excel. The report is a simple query regarding responses to a letter mailing. There...
8
by: Taffman | last post by:
I've searched this goup for an answer to this, there are many discussions that come close but non that I can find that actually addresses this particular problem. I'm exporting queries to Excel....
52
by: Neil | last post by:
We are running an Access 2000 MDB with a SQL 7 back end. Our network guy is upgrading to Windows Server 2003 and wants to upgrade Office and SQL Server at the same time. We're moving to SQL Server...
2
by: kaviram | last post by:
Hi, I have a requirement where I need to open up an access report on the click of a button which resides in a dotnet windows application. This is a dynamic report with grouping. and the report...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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...

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.