A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Word » Mailmerge
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Creating RTF file to be merged with ColdFusion data??



 
 
Thread Tools Display Modes
  #1  
Old June 6th, 2005, 07:42 PM
Steve Grosz
external usenet poster
 
Posts: n/a
Default Creating RTF file to be merged with ColdFusion data??

I'm trying to create a RTF document on the fly merging it with
ColdFusion data pulled from one of my databases, that will in turn be
emailed out to customers as a DOC file.

Can anyone tell me how I can define the RTF/Doc file to set up data
fields that I will then replace with my ColdFusion variables when needed?

Thanks,
Steve
  #2  
Old June 6th, 2005, 09:22 PM
Peter Jamieson
external usenet poster
 
Posts: n/a
Default

Not sure, but I think it depends on how exactly you are thinking of filling
in those variables. If you want to end up with a .doc you're probably going
to have to open your .rtf with Word (unless you have a 3rd party method for
that) and there are various ways you could insert the values for "fields" .
If you want to put values in by changing the RTF, then open the RTF in Word,
there are a couple of ways I can think of to do that. But are these text
values, or might they be pictures?

For example, in the RTF representation of a Word document, for many field
types you have both a field defintion and a field result. If you can find a
way to search the plain text RTF file and replace each RTF field result
value with the appropriate text, you will probably have what you need. Or
maybe you could define a whole bunch of Custom Document Properties or WOrd
Document Variables, then either replace the relevant text in the RTF file
with the values you need, or open the document in Word and use VBA or some
such to set the document properties or variables?

Peter Jamieson

"Steve Grosz" wrote in message
...
I'm trying to create a RTF document on the fly merging it with ColdFusion
data pulled from one of my databases, that will in turn be emailed out to
customers as a DOC file.

Can anyone tell me how I can define the RTF/Doc file to set up data fields
that I will then replace with my ColdFusion variables when needed?

Thanks,
Steve



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Weekly Transaction Processing Ralph Howarth Worksheet Functions 4 January 19th, 2005 05:37 AM
Jet35.sp3 doglover Database Design 3 August 26th, 2004 04:41 PM
Product Key for Office XP P.G.Indiana Setup, Installing & Configuration 1 June 7th, 2004 03:22 AM
Productkey problem when installing office 2003 on network Stefan Schreurs Setup, Installing & Configuration 1 June 1st, 2004 11:16 PM
GPO Office 2003 Tony Setup, Installing & Configuration 1 May 12th, 2004 10:42 AM


All times are GMT +1. The time now is 07:46 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.