Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.docmanagement
Johnny Holland Johnny Holland is offline
external usenet poster
 
Posts: 5
Default Fields in a document that point to a database table

What is the best way of having certain fields in a document resolve upon
opening of the document. By resolve I mean replace themselves with actual
data from a database table. Ideally I would like to provide a parameter that
would identify the database table row and upon opening, the document would
replace all the fields with actual data.

I think that some sort of MailMerge would be easiest but I am not sure how I
can pass a parameter to the template in which the field(s) reside. I suppose
I need some way of calling the merge fields method from the AutoNew/AutoOpen
subs.
Thanks for your help


  #2   Report Post  
Posted to microsoft.public.word.docmanagement
Cindy M. Cindy M. is offline
external usenet poster
 
Posts: 2,416
Default Fields in a document that point to a database table

Hi ?B?Sm9obm55IEhvbGxhbmQ=?=,

What is the best way of having certain fields in a document resolve upon
opening of the document. By resolve I mean replace themselves with actual
data from a database table. Ideally I would like to provide a parameter that
would identify the database table row and upon opening, the document would
replace all the fields with actual data.

There's a Database field, and creating the link is very similar to setting up
mail merge. Assuming you have Word 2003 or earlier, look for the Insert
Database command on the Data toolbar.

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 17 2005)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or reply
in the newsgroup and not by e-mail :-)

Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Truncated Database fields Magienoire Tables 5 November 7th 06 02:08 PM
Insert certain paragraphs based on fields in Excel database MarvInBoise Mailmerge 7 April 20th 06 06:12 PM
Lining up by the decimal point in a table of merged fields Michele Mailmerge 3 February 2nd 06 08:44 PM
database saved as a document, somehow, must convert to database Tasha Mailmerge 5 August 1st 05 08:01 PM
How to insert only selected fields from Access database in Word? RenèJ Microsoft Word Help 1 May 23rd 05 09:10 PM


All times are GMT +1. The time now is 09:14 AM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"