Access 2002 Report w/Replace() w/Stephen Lebans RTF

J

jb

I'm trying to simulate a mailmerge field replace in a report with memo
fields that are formatted with Stephen Lebans' RTF control. Users can open
up a memo field and use bold, italics and fonts, etc. to format the field.
They can also insert a field like [CustomerName] in the text and what I
would like to be able to do is run a report that pulls this RTF formatted
memo field, but with the contents of the field shown instead of the actual
field name. I tried the On Format and On Print, but the whole contents of
the memo field comes across at one time so I could not do a Replace() or an
EVal(). Do I need to grab the whole memo field into a variable and then
somehow walk through the variable a line/chunk at a time looking for [ ] and
when found, replace(eval()) of that field and then write that back out to an
unbound control on the report? I have ideas, but I do know enough about the
control to know how to manipulate it. I know A2k7 has a built in RTF
format, but this app is in A2K & A2K2.

Thanks for any guidance.

John
 
J

jb

I have this figured out for a memo field in A2K2 now, so I'm just trying to
figure this out for Stephen's RTF Control - anyone use this before? Thanks.
 

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