Thanks for the quick reply.
My second question is about trying to import formatted data from
somewhere else into the fields in Access that are the control source
for these RTF controls.
I know that that I can select text in Word and copy and paste it into
your control. The question is, is there a way import the data directly
into my table and have it retain all of the RTF codes?
When I paste it into your control, I think your DLLs work some magic on
the text to explicitly store the codes in my Access table. If I try
and copy the text directly into my table, I don't get the RTF codes at
all, but I see some system characters to represent Tabs and LFs.
I would like to find a way to import RTF data directly into my table in
such a way that it will display correctly in your RTF2 control. Is
this possible? Is it something I can do myself? If it takes some
extra work to finesse your DLLs to cooperate, we are open to
compensating you for your time.
Thanks again for your help.
Randy Shore
Stephen Lebans wrote:
I have not worked with frames within an RTF document. I do see the RTF codes
to set the dimensions and position of a frame.
The RTF2 control does not directly expose this functionality but it does
support it. You stated you were programmatically building RTF encoded
strings so adding support for frames should be straightforward for you. I'm
sure if you search the Net you will find further info on RTF frames.
I'm not sure that I understand your second question. You certainly do not
have to use the Clipboard to transfer data from an external app to Access
but it is gernerally the easiest method for apps that do not support
Automation.
--
HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
"vtashore" <rs****@phhlaw.comwrote in message
news:11**********************@h48g2000cwc.googlegr oups.com...
I downloaded Steve Leban's RTF2 control and it works as advertised.
Good news!
After reading reference material on the RTF standard codes, I have been
able to write update queries to universally change the font or font
size directly in my table without having to edit the text natively in
Leban's control. Also good news.
I see that there is an RTF code, \posyc, which would center the text
vertically within the reference frame. The problem is I don't know how
to address the reference frame within the RTF2 control. In fact, I
don't know what a reference frame is, at all. Bad news.
Steve, if you're out there, could you let me know if there is a way to
vertically justify the text within your RTF2 control? Also, is there
any other way to import Rich Text directly into the fields in my Access
database without having to use the Windows Clipboard as an
intermediary? I have 4 fields in my table, each of which uses the RTF2
control to display their rich text data. My hope is that there might
be a way to allow remote users to enter their rich text data into a MS
Word table, or any ODBC enabled app, and that I would be able (using
automation or some other technique) to cycle through the cells in the
table and import the formatted text directly into my Access table. Is
this possible?