473,657 Members | 2,439 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Export to RTF

Am having a problem usink AK2 exporting a report to an RTF file. The Access
report has most fields and sections set to CanShrink and CanGrow. The report
looks fine, but the ends of a number of fields get cropped. Can export to a
PDF file OK, but I can't edit a PDF file.

Any ideas, or can't it be done?

THANKS

Phil
Dec 17 '07 #1
15 5172
Phil, there has always been problems with fields being truncated at 255
chars when exported to RTF.

From memory, I don't think MS has fixed all these issues. The kb articles
that discuss them are listed here:
Truncation of Memo fields
at:
http://allenbrowne.com/ser-63.html

Scroll down to the "Exports" heading.

--
Allen Browne - Microsoft MVP. Perth, Western Australia
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"News" <sylvia..bo**@t iscali.co.ukwro te in message
news:47******** **@mk-nntp-2.news.uk.tisca li.com...
Am having a problem usink AK2 exporting a report to an RTF file. The
Access report has most fields and sections set to CanShrink and CanGrow.
The report looks fine, but the ends of a number of fields get cropped. Can
export to a PDF file OK, but I can't edit a PDF file.

Any ideas, or can't it be done?

THANKS

Phil
Dec 18 '07 #2
Thanks for coming back, Allen

Curiouser and curiouser - the fields being truncated are ordinary text
fields, in particular, phone nos and boat names.
What is really odd that is on my machine at home, running XP there is no
problem. The problem shows up on both my laptop running XP and also with the
computer at the Yacht Club running Windows 2000.

Any other thoughts

Thanks

Phil

"Allen Browne" <Al*********@Se eSig.Invalidwro te in message
news:47******** *************** @per-qv1-newsreader-01.iinet.net.au ...
Phil, there has always been problems with fields being truncated at 255
chars when exported to RTF.

From memory, I don't think MS has fixed all these issues. The kb articles
that discuss them are listed here:
Truncation of Memo fields
at:
http://allenbrowne.com/ser-63.html

Scroll down to the "Exports" heading.

--
Allen Browne - Microsoft MVP. Perth, Western Australia
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"News" <sylvia..bo**@t iscali.co.ukwro te in message
news:47******** **@mk-nntp-2.news.uk.tisca li.com...
>Am having a problem usink AK2 exporting a report to an RTF file. The
Access report has most fields and sections set to CanShrink and CanGrow.
The report looks fine, but the ends of a number of fields get cropped.
Can export to a PDF file OK, but I can't edit a PDF file.

Any ideas, or can't it be done?

THANKS

Phil

Dec 18 '07 #3
Text fields? Concatenated to more than 255 char?
Or truncating shorter than that?

Post the SQL statement, indicating the field types and sizes involved in the
concatenation. Something else must be going on.

--
Allen Browne - Microsoft MVP. Perth, Western Australia
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"Phil Stanton" <ph**@stantonfa mily.co.ukwrote in message
news:13******** *****@corp.supe rnews.com...
Thanks for coming back, Allen

Curiouser and curiouser - the fields being truncated are ordinary text
fields, in particular, phone nos and boat names.
What is really odd that is on my machine at home, running XP there is no
problem. The problem shows up on both my laptop running XP and also with
the computer at the Yacht Club running Windows 2000.

Any other thoughts

Thanks

Phil

"Allen Browne" <Al*********@Se eSig.Invalidwro te in message
news:47******** *************** @per-qv1-newsreader-01.iinet.net.au ...
>Phil, there has always been problems with fields being truncated at 255
chars when exported to RTF.

From memory, I don't think MS has fixed all these issues. The kb articles
that discuss them are listed here:
Truncation of Memo fields
at:
http://allenbrowne.com/ser-63.html

Scroll down to the "Exports" heading.

"News" <sylvia..bo**@t iscali.co.ukwro te in message
news:47******* ***@mk-nntp-2.news.uk.tisca li.com...
>>Am having a problem usink AK2 exporting a report to an RTF file. The
Access report has most fields and sections set to CanShrink and CanGrow.
The report looks fine, but the ends of a number of fields get cropped.
Can export to a PDF file OK, but I can't edit a PDF file.
Dec 18 '07 #4
The truncation that happens when exporting to RTF has nothing to do with the
data type and is a completely different matter from the truncation of memo
fields seen in other situations.

It happens because the export to RTF feature is flawed. It has had this problem
since at least Access 95 and it has never been fixed and likely never will be.
At its roots are differences is font kerning, spacing, etc, between Access and
Word that cause text snippets to take up more horizontal space in Word than they
do in Access. This combined with soft line-wrapping rules and various other
factors cause the problem.

The solution is to NOT use the RTF option for anything but very simple tabular
data that does need CanGrow and CanShrink capabilities. Even then you need to
make many of your controls in the report wider than would otherwise be required.

You can fiddle around with the design of your report using your current data and
perhaps convince yourself that you have corrected the problem. That will be an
illusion. Once your data changes the problem will resurface.

--
Rick Brandt, Microsoft Access MVP
Email (as appropriate) to...
RBrandt at Hunter dot com

Dec 18 '07 #5
Thanks Rick.

Any thoughts on why the export is fine on 1 computer and truncated on the
other 2 machines, all running Office 2000?

Phil

"Rick Brandt" <ri*********@ho tmail.comwrote in message
news:PT******** ****@newssvr25. news.prodigy.ne t...
The truncation that happens when exporting to RTF has nothing to do with
the data type and is a completely different matter from the truncation of
memo fields seen in other situations.

It happens because the export to RTF feature is flawed. It has had this
problem since at least Access 95 and it has never been fixed and likely
never will be. At its roots are differences is font kerning, spacing, etc,
between Access and Word that cause text snippets to take up more
horizontal space in Word than they do in Access. This combined with soft
line-wrapping rules and various other factors cause the problem.

The solution is to NOT use the RTF option for anything but very simple
tabular data that does need CanGrow and CanShrink capabilities. Even then
you need to make many of your controls in the report wider than would
otherwise be required.

You can fiddle around with the design of your report using your current
data and perhaps convince yourself that you have corrected the problem.
That will be an illusion. Once your data changes the problem will
resurface.

--
Rick Brandt, Microsoft Access MVP
Email (as appropriate) to...
RBrandt at Hunter dot com

Dec 18 '07 #6
Phil Stanton wrote:
Thanks Rick.

Any thoughts on why the export is fine on 1 computer and truncated on
the other 2 machines, all running Office 2000?
The problem is influenced by your default printer driver and perhaps other
settings in Word and/or Access.
--
Rick Brandt, Microsoft Access MVP
Email (as appropriate) to...
RBrandt at Hunter dot com
Dec 18 '07 #7
That's fair enough, Phil.

Off the top of my head, I can't tell you which lib does the exporting.
Perhaps you could start by just checking whether it's the same Office
service pack.

--
Allen Browne - Microsoft MVP. Perth, Western Australia
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"Phil Stanton" <ph**@stantonfa mily.co.ukwrote in message
news:13******** *****@corp.supe rnews.com...
Thanks Allen & Rick

BoatName is a field defined in the Boat table - no messing about with it
al all

MSJET40 version is 4.0.8618.0 on both machines. However as the report is
perfectly OK in access, the problem would appear to be in whatever bit of
software converts the access report to an RTF file. Is there a DLL that
does this or is it done by MSJET40. I had a sort of feeling that there
would be a "program" invoked to covert to an RTF file, a different
"program" to convert to Excel etc.

Will also recheck settings. Again any suggestion on which ones
Dec 19 '07 #8
Been playing further. Cant find any differences in settings. If however I
change the font from Arial to Arial Narrow and then export the report, the
RTF file is OK. Trouble is that I am already using 6 point Arial which is
just about readable. 6 point Arial narrow is very difficult to read.

Phil
"Allen Browne" <Al*********@Se eSig.Invalidwro te in message
news:47******** *************** @per-qv1-newsreader-01.iinet.net.au ...
That's fair enough, Phil.

Off the top of my head, I can't tell you which lib does the exporting.
Perhaps you could start by just checking whether it's the same Office
service pack.

--
Allen Browne - Microsoft MVP. Perth, Western Australia
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"Phil Stanton" <ph**@stantonfa mily.co.ukwrote in message
news:13******** *****@corp.supe rnews.com...
>Thanks Allen & Rick

BoatName is a field defined in the Boat table - no messing about with it
al all

MSJET40 version is 4.0.8618.0 on both machines. However as the report is
perfectly OK in access, the problem would appear to be in whatever bit of
software converts the access report to an RTF file. Is there a DLL that
does this or is it done by MSJET40. I had a sort of feeling that there
would be a "program" invoked to covert to an RTF file, a different
"program" to convert to Excel etc.

Will also recheck settings. Again any suggestion on which ones

Dec 21 '07 #9
It's an issue with font metrics???

What happens if you use Arial CYR?

--
Allen Browne - Microsoft MVP. Perth, Western Australia
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"Phil Stanton" <ph**@stantonfa mily.co.ukwrote in message
news:13******** *****@corp.supe rnews.com...
Been playing further. Cant find any differences in settings. If however I
change the font from Arial to Arial Narrow and then export the report, the
RTF file is OK. Trouble is that I am already using 6 point Arial which is
just about readable. 6 point Arial narrow is very difficult to read.

Phil
"Allen Browne" <Al*********@Se eSig.Invalidwro te in message
news:47******** *************** @per-qv1-newsreader-01.iinet.net.au ...
>That's fair enough, Phil.

Off the top of my head, I can't tell you which lib does the exporting.
Perhaps you could start by just checking whether it's the same Office
service pack.

"Phil Stanton" <ph**@stantonfa mily.co.ukwrote in message
news:13******* ******@corp.sup ernews.com...
>>Thanks Allen & Rick

BoatName is a field defined in the Boat table - no messing about with it
al all

MSJET40 version is 4.0.8618.0 on both machines. However as the report is
perfectly OK in access, the problem would appear to be in whatever bit
of software converts the access report to an RTF file. Is there a DLL
that does this or is it done by MSJET40. I had a sort of feeling that
there would be a "program" invoked to covert to an RTF file, a different
"program" to convert to Excel etc.

Will also recheck settings. Again any suggestion on which ones
Dec 22 '07 #10

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

Similar topics

13
29489
by: DarkSpy | last post by:
many c++ compilers including "gcc" have not implemented the "export" keyword, but the comeau compilers made it (just i knew). i want to know about: is it too difficult to implement "export" keyword? if it is, i know the history that is without "export" keyword of C++ compilers with five years (sorry about my poor english :-) ), in five years still have no some idea to implement it ? my project and many C++ programmers need this important...
205
10592
by: Jeremy Siek | last post by:
CALL FOR PAPERS/PARTICIPATION C++, Boost, and the Future of C++ Libraries Workshop at OOPSLA October 24-28, 2004 Vancouver, British Columbia, Canada http://tinyurl.com/4n5pf Submissions
1
1842
by: Do Park via SQLMonster.com | last post by:
Hello all, I don?t often export data from a table. I am wondering how you export data from a table. I?d like to know how you export in real world. Do you export data from a table to a flat file or what type? There are many selections when you choose file type. When do you need to export data? How often? Do you use DTS rather than export wizard?
6
17026
by: maricel | last post by:
Is there anybody out there who have any idea why EXPORT is relatively slower when putting the output file on a network drive - map drive from onother PC compared to putting it on my local PC drive (faster). Is there any workaround or tuning config that is available? Your help would be highly appreciated. maricel
5
10570
by: David | last post by:
I am a little confused by DB2 Backup and Export. I used "db2 backup db QAS to /dev/rmt0" backuping 650GB database to a IBM LTO 3581 (1 drive) only 11 hours. But I used "db2 export to /dev/rmt0 of ixf messages MKPF.msg select * from mkpf" on the same 3581, and this table is only 5GB, but the export used 4 hours. What's the diffirent between Backup and Export? I mean except backup is used to backup whole database or tablespace, and export...
5
11025
by: Tim Eliot | last post by:
Just wondering if anyone has hit the following issue and how you might have sorted it out. I am using the command: DoCmd.TransferText acExportMerge, , stDataSource, stFileName, True after setting stDataSource and stFileName to the desired values. Most of the time it works, but occasionally, typically as code changes are being made to the module, the following message appears:
7
14358
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 display the graph but it is not possible to send query parameters to an OLE graph on a report (or programatically change any properties of an OLE Graph). However with a Form you do have the ability to change the RowSource of
1
5283
by: chaitu | last post by:
Hi, Can anybody tell me what the error code for Export is. Like i get the message SQL3104N The Export utility is beginning to export data to file "/home/db2as/sqllib/bluee_tables1/DBCHECK.ixf". if it is beginning to export and
5
3413
by: JHNielson | last post by:
I have a somewhat simple question, but have been baffled by it for a while, and now I'm on a tight deadline - have to get it done within 24 hours. I am trying to export a set of files to my hard drive to then later be FTPd to a server. the file format should be "TITLE.yyyymmdd" where yymmdd is the date code for when the files are created. The files can't be .txt. But when I run the files as ".txt" the code runs just fine. when I...
8
18772
by: iheartvba | last post by:
Hi I am using Access 2007 and am trying to export a query to a fixed length text file. I tried using the following code to export the text file: DoCmd.TransferText acExportFixed, , "qryFFRDeFile", "C:\qryFFRDeFile.txt", True Access asks for a specification name, now here lies the challenge, how do I create an export specification I have tried the following 2 methods: In access 2007: Step1: I right clicked the query and chose export to...
0
8315
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8829
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8734
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8508
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8608
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6172
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5633
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4164
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4323
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.