Re: Formatted RTF in Memo field?
Date: Tue, 28 Sep 2004 17:01:40 -0400
"GaryZ" <GaryZ@discussions.microsoft.com> wrote in message
news:B0585FA0-3B48-4C1C-9C74-132118FCB4F1@microsoft.com...
> Is it possible to store a formatted RTF file in a Memo field w/o loosing
> the
> formatting?
Absolutely.
I have an application which does it quite a bit. For display/editing you can
use the MS RTF control or one of the various 3rd party products. I use Ter
which seems to work pretty well with VFP.
I have one app where the users are preparing estimates in which fully
formatted paragraphs are being pulled from a database to make up the
estimate. The estimate is then formatted with job specific information added
and the whole thing is saved in the memo field of a different table.
It all works quite well. VFP doesn't seem to care what you put in a memo
field. It will give it back to you. RTF is a plain text specification anyway
so you won't even have trouble reading the RTF data from the VFP IDE.
Regards,
Jeff
Relevant Pages
- Re: How To Search Files of All Extensions
... string or perhaps someone's name. ... formatting codes depending on the type of file ... This program reads the VFP Project.pjx and scans all files there-from. ... append odd tables into a Memo field, which VFP could handle, and ... (microsoft.public.fox.programmer.exchange) - Re: RTF Mail Merge Fields
... The thing is that setting selBullet to true is something you would set in the Richtext editor control's properties - selBullet isn't something in the RTF spec. ... whether in fact by using Alt-7 you are inserting a bullet character ... These will all merge fine from the data source. ... In other words, using MERGEFIELD fields loses the most formatting, using REF fields with a Word format data source loses less formatting, using INCLUDETEXTed RTF files generated on the fly /may/ lose less than that, which may clash in various ways). ... (microsoft.public.word.mailmerge.fields) - Re: RTF Mail Merge Fields
... is there a way to ensure that Word honours the formatting that you applied? ... As far as is concerned, if you are using the Richtext control in VB6 to generate the RTF in the data source, then ... do underlines and we also need to do bullets: ... (microsoft.public.word.mailmerge.fields) - Re: RTF Mail Merge Fields
... These will all merge fine from the data source. ... What I'm doing now to get around this is when a bulleted list is setup on the merge source I am inserting ALT 7 instead setting selBullet to true per the rtf spec. ... In other words, using MERGEFIELD fields loses the most formatting, using REF fields with a Word format data source loses less formatting, using INCLUDETEXTed RTF files generated on the fly /may/ lose less than that, which may clash in various ways). ... do underlines and we also need to do bullets: ... (microsoft.public.word.mailmerge.fields) - Re: RTF Mail Merge Fields
... Ypur best bet here is probably to avoid using automatic numbering in the main document - although it may be possible to prevent "interference" between the numbering in the RTF and the numbering in the main document by specifying a named list template or some such in the main document, that stuff is hard to tame. ... This all seems to work but when it gets merged into word, all of the formatting is lost. ... It appears to me from the use of these switches I can use /*charformat to bold, ... (microsoft.public.word.mailmerge.fields) |
|