473,325 Members | 2,774 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,325 software developers and data experts.

RTF2 Control -> MS Word

Hi!
I'm using the RTF2 Control from Lebans web site with MS Access 2000.
It's working very good. Now i want to create a letter with the
formated text of the RTF2 control in MS Word 2000, but it shows all
the code inside and not the formating ... I'm not using vba-code, i'm
making the letter by hand (as a serial letter in Word with the
Access-DB as data source).
How can i create a letter which looks like the report in Word? Is it
possible and if, what do i do wrong?

Thanks a lot for your help!
Marion Neubauer.
Nov 12 '05 #1
4 2491
If I understand you correctly you are manually creating a letter in
MSWord and want to copy and paste the contents of my RTF2 control from
an Access Form into your WOrd document. Have you tried simply selecting
all of the desired text , right clicking to to bring up the context
menu, select COPy and then paste thsi into your WOrd doc?

--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
"Marion Neubauer" <bl******@gmx.net> wrote in message
news:7f*************************@posting.google.co m...
Hi!
I'm using the RTF2 Control from Lebans web site with MS Access 2000.
It's working very good. Now i want to create a letter with the
formated text of the RTF2 control in MS Word 2000, but it shows all
the code inside and not the formating ... I'm not using vba-code, i'm
making the letter by hand (as a serial letter in Word with the
Access-DB as data source).
How can i create a letter which looks like the report in Word? Is it
possible and if, what do i do wrong?

Thanks a lot for your help!
Marion Neubauer.


Nov 12 '05 #2
No, i did not copying the text. I created a serial letter as usual in
word.
First I selected the table with the text of the RTF2 control in my
access-db as the datasource for my serial letter.
Then i put the field with the text of the RTF2 control field in the
document.
Afterwards i wanted to see the formated text (serial letter preview)
but it shown me the code of the rtf2 control :-(.
I hope i could tell clearly what i have done. Sorry about my bad
English ...
Best regards and thx for your help,
Marion Neubauer.
"Stephen Lebans" <Fo****************************************@linval id.com> wrote in message news:<OF*********************@ursa-nb00s0.nbnet.nb.ca>...
If I understand you correctly you are manually creating a letter in
MSWord and want to copy and paste the contents of my RTF2 control from
an Access Form into your WOrd document. Have you tried simply selecting
all of the desired text , right clicking to to bring up the context
menu, select COPy and then paste thsi into your WOrd doc?

--

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

Nov 12 '05 #3
Since you are working from within a MSWORD doc I would suggest you
should post this question to a MS Word NG. I'd be interested to hear of
any solution you get.
:-)
--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
"Marion Neubauer" <bl******@gmx.net> wrote in message
news:7f*************************@posting.google.co m...
No, i did not copying the text. I created a serial letter as usual in
word.
First I selected the table with the text of the RTF2 control in my
access-db as the datasource for my serial letter.
Then i put the field with the text of the RTF2 control field in the
document.
Afterwards i wanted to see the formated text (serial letter preview)
but it shown me the code of the rtf2 control :-(.
I hope i could tell clearly what i have done. Sorry about my bad
English ...
Best regards and thx for your help,
Marion Neubauer.
"Stephen Lebans"

<Fo****************************************@linval id.com> wrote in
message news:<OF*********************@ursa-nb00s0.nbnet.nb.ca>...
If I understand you correctly you are manually creating a letter in
MSWord and want to copy and paste the contents of my RTF2 control from an Access Form into your WOrd document. Have you tried simply selecting all of the desired text , right clicking to to bring up the context
menu, select COPy and then paste thsi into your WOrd doc?

--

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


Nov 12 '05 #4
Hi!
I found a solution, not very elegant, but ok - i stored the data of
the RTF2-Control in a text-file and opened this text-file with word.
Now Word showed the formated text :-). Now i have to program this way
in VBA, but i think that shouldn't be a big problem.

If you find a better way, please tell me anytime :-).

Thx and BR,
Marion Neubauer.
"Stephen Lebans" <Fo****************************************@linval id.com> wrote in message news:<Rm*********************@ursa-nb00s0.nbnet.nb.ca>...
Since you are working from within a MSWORD doc I would suggest you
should post this question to a MS Word NG. I'd be interested to hear of
any solution you get.
:-)
--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
"Marion Neubauer" <bl******@gmx.net> wrote in message
news:7f*************************@posting.google.co m...
No, i did not copying the text. I created a serial letter as usual in
word.
First I selected the table with the text of the RTF2 control in my
access-db as the datasource for my serial letter.
Then i put the field with the text of the RTF2 control field in the
document.
Afterwards i wanted to see the formated text (serial letter preview)
but it shown me the code of the rtf2 control :-(.
I hope i could tell clearly what i have done. Sorry about my bad
English ...
Best regards and thx for your help,
Marion Neubauer.
"Stephen Lebans"

<Fo****************************************@linval id.com> wrote in
message news:<OF*********************@ursa-nb00s0.nbnet.nb.ca>...
If I understand you correctly you are manually creating a letter in
MSWord and want to copy and paste the contents of my RTF2 control from an Access Form into your WOrd document. Have you tried simply selecting all of the desired text , right clicking to to bring up the context
menu, select COPy and then paste thsi into your WOrd doc?

--

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

Nov 12 '05 #5

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

Similar topics

1
by: Bruce Rusk | last post by:
I've just started using Stephen Lebans' RTF2 control in a database, linked to a Memo field, and am finding it extremely useful (incidentally, in ACC2002 I'm using the class and withevents rather...
6
by: Bruce Rusk | last post by:
I'm using Stephen Lebans' RTF2 control in a report, and have discovered what may be a slight bug in it. I have a lot of non-Western language (Chinese) text in my RTF field, and such records get...
1
by: dan.roffman | last post by:
Is there a way to span a report over multiple pages. I think you could do something like count the number of lines and if it exceeds a certain number, then put the rest of th text into another RTF...
11
by: D Perron | last post by:
I am using the RTF2 activeX control from Stephen Leban's website and it works really well when there is one memo field. However, I cannot get it to work with multiple memo fields (I have 4). I...
4
by: Damon Reissman | last post by:
Hello, I'm trying to use Stephen Leban's RTF2 ActiveX control in an access database with unicode data. In VB, I pass the text value directly from the text box control in a form to the rtf2...
1
by: simon | last post by:
I have an unbound RTF2 control in an Access 2003 form which I set to show either unformatted text or else text with words and sentences highlighted. I do this by setting the PlainText property,...
4
by: prami | last post by:
Hello I'm sure I do something wrong, but I don't know what ... In Form 1 I painted the RTF2 control and bound it to a memo field. Entering and changing data therein works fine. Now, based on...
2
by: Pascal Hagedorn | last post by:
I downloaded Steve Leban's RTF2 control and it shows me the report as wanted. The Problem is, if i want to print it, it comes a PopUp where it says "properties write protected" (german:...
1
by: Bob Alston | last post by:
Lebans RTF2 Active X control - How to load contents from DOC or RTF file at run time???? Bob
0
by: lalob | last post by:
Hi, in an Access 2003 Application I'm using S. Leban's RTF2-Control. The data are stored in a linked Oracle-Table (varchar2(4000)). If text is used everything is working well. Now on user...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.