RTF2

G

Greg

Hello, this question is for Stephen Lebans or anyone familiar with his RTF2
control.

I have a field which is entered by a user in an RTF2 control on a form.
However, there have been some formatting problems in some of my reports. I
would like to copy the contents of the RTF2 control on my form and, upon
update of the RTF2 box, copy the CONTENTS of that control to a Memo text
box. I have tried simply setting the text box equal to the RTF2 box, but i
get the code instead of the plain text. When i manually copy and paste out
of the RTF2 box, it works correctly, so i would like to emulate this. Thank
you.
 
S

Stephen Lebans

You might be better off to address the "formatting problems" you are
encountering. What is the exact issue?

--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
 
G

Greg

I have a report which has continuous detail sections (I have about 11,000
records). I am using one RTF2 field on this report. The very first record
comes out OK, but every one after that has inserted spaces in the middle of
words! For example:

if record 1 is : test test
record 2 will look like : t es t t es t

even when they are identical.
I have since fixed the problem by tricking Access: it seemed that when I put
a TEXT BOX for the RTF2 field in the detail section ALSO, the formatting
fixed itself. So i put that field in again and covered it up with a white
rectangle. Have you ever seen anyhting like this?

Anyway, I would still like to copy the RTF2 field to a regular text field
anyway, to be safe. Can i do this? Thank you for your help and a great
control that makes my DB much better.
 
S

Stephen Lebans

There are several threads discussing this issue over the last year. There is
nothing wrong with the RTF coding itself so there is no need to make a copy
of the RTF2 contents. I believe the issue has only shown up when the RTF2
control is not bound to a field and the developer builds the RTF codes at
runtime. Is this the case with your application?
I would suggest you search GoogleGroups for:
RTF lebans space font

Read the relevant threads and then post back if you require more assistance.

The core issue shows up in all RTF controls used in the manner described
above. It looks to be a font metrics issue at the lowest level of the
Microsoft code for the control that is not exposed in any fashion
whatsoever.
--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
 

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