How to create a RTF doc and append to it using Visual Basic inside MSACCESS

M

mms

I have a calculation for with some values linked to a table in MS Acces
2003 and would like to create a report in RTF format. Can anyone help m
with the VB code to perform the task of creating the file, formattin
some text and to append to the file
 
J

John Nurick

It's almost certainly simpler to use a RTF control on a form than to
build an RTF string yourself. There are various RTF controls that will
work on Access forms; see e.g. Total Access Memo from www.fmsinc.com and
Stephan Lebans's free one (www.lebans.com).

For complex formatting (e.g. tables, footnotes, borders, graphics, etc.)
I'd create the document in Word (under VBA control, of course) and save
it to RTF.
 

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