FillIn or MergeField from VB

K

krlos

I'm trying to insert data from a recordset into Word fields.(not sure if
Fillin or MergeField would be best appropiate)

- How I'd like to use it?
I'd like to use the Field Name to retrieve from rstemp(Fields.Name) that
way I can use different templates with same functionality.

The template will determine the fields that would get populate it from the
rstemp

Any help would be appreciate it
 
D

Doug Robbins

I would be assigning the data to document variables and displaying it when
and where needed in the documents by inserting {DOCVARIABLE varname } fields

--
Please respond to the Newsgroup for the benefit of others who may be
interested. Questions sent directly to me will only be answered on a paid
consulting basis.

Hope this helps,
Doug Robbins - Word MVP
 
D

Doug Robbins

ActiveDocument.Variables("varname").Value = "Some Value"

--
Please respond to the Newsgroup for the benefit of others who may be
interested. Questions sent directly to me will only be answered on a paid
consulting basis.

Hope this helps,
Doug Robbins - Word MVP
 

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