All,

I am having a problem creating rtf data with 'fields' inserted. I have a
letter app that uses rtf templates that will be stored in a DB table. By
using code like the following the app pastes this rtf data into a
richtext control. There are other parts of the app that fill-in the
'tags' that are part of the rtf data. Then at the end it will print the
letter.
*******************************
if auo_rte.PasteRTF( data from table ) = FAILURE then
     gnv_app.inv_error.of_Message("error message here")
end if
*******************************

My question is... How can I get this type of data, the special
characters, formatting, etc from a rtf document that has fields inserted
and put it into the DB table? Here is the type of data I'm looking for.
**********************************************************************
{\rtf1\ansi\deff0
{\fonttbl{\f0\froman Tms Rmn;}{\f1\froman Times New Roman;}}
{\colortbl\red0\green0\blue0;\red0\green0\blue255;\red0\green255\blue255;\red0\green255\blue0;\red255\green0\blue255;\red255\green0\blue0;\red255\green255\blue0;\red255\green255\blue255;\red0\green0\blue127;\red0\green127\blue127;\red0\green127\blue0;\red127\green0\blue127;\red127\green0\blue0;\red127\green127\blue0;\red127\green127\blue127;\red192\green192\blue192;}

{\field{\*\fldinst{\f0\fs20\cf0\up0\dn0 tag name, tag_id
2}}{\fldrslt{\f0\fs20\cf0\up0\dn0}}}{\info{\creatim\yr1998\mo8\dy5\hr10\min51\sec28}{\revtim\yr1998\mo8\dy5\hr11\min12\sec35}{\version1}{\vern262367}}\paperw12240\paperh15840\margl360\margr1800\margt239\margb336\deftab720{\header\pard\ql}{\footer\pard\ql}\pard\ql{\f0\fs20\cf0\up0\dn0
This is not the test field, the other text areas are the fields.
}{\field{\*\fldinst{\f0\fs20\cf0\up0\dn0 Admit Type
1}}{\fldrslt{\f0\fs20\cf0\up0\dn0}}}}
***********************************************************************

Any rtf help is appreciated.

TIA

Steve R. Halpin
SSE    [EMAIL PROTECTED]
UHG Golden Valley, MN 55420


> [EMAIL PROTECTED] HOSTED BY IIGG, INC. FOR HELP WITH LIST SERVE COMMANDS, ADDRESS
> A MESSAGE TO [EMAIL PROTECTED] WITH THE FOLLOWING MESSAGE:   help pfcsig
> SEND ALL OTHER INQUIRES TO [EMAIL PROTECTED]

Reply via email to