Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Brenda
 
Posts: n/a
Default OpenDataSource each time document is opened

I have Word Mail Merge documents that are shared by 250 users, but they each
have their own data source. In my software they select a client, select a
letter, and then press a button to launch Word Mail Merge and the code
performs the merge to new document. It use to be that the datasource was
always at c:\rt_lettr.dbf - but that is no longer an option. So the data
source has moved on existing documents, and the datasource path must now
include the user name. So I want each time that the document is opened to
point to the current datasource to use.

FYI - This is an attempt at a work around on a problem stated in a previous
post about not having the ability to use the Open Data Sources.
  #2   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Doug Robbins - Word MVP
 
Posts: n/a
Default OpenDataSource each time document is opened

You should be able to use an auto-open macro in the template from which the
mail merge main document is created that will determine the path the the
datasource and attach it to the document.

See the article "How to get the username of the current user" at:

http://www.word.mvps.org/FAQs/Macros...urUserName.htm


--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP

"Brenda" wrote in message
...
I have Word Mail Merge documents that are shared by 250 users, but they
each
have their own data source. In my software they select a client, select a
letter, and then press a button to launch Word Mail Merge and the code
performs the merge to new document. It use to be that the datasource was
always at c:\rt_lettr.dbf - but that is no longer an option. So the data
source has moved on existing documents, and the datasource path must now
include the user name. So I want each time that the document is opened to
point to the current datasource to use.

FYI - This is an attempt at a work around on a problem stated in a
previous
post about not having the ability to use the Open Data Sources.



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
Why can I open only one document at a time in Word? Jon Microsoft Word Help 3 December 5th 05 02:40 PM
Why does my time stamp change when I reopen my Word document? Teacher In Kansas Microsoft Word Help 2 August 19th 05 05:40 AM
incremental number in a the same document printed x time stabilo Microsoft Word Help 1 May 26th 05 03:39 PM
I created a document in Word, now it appears every time Word is o. KishaJ Microsoft Word Help 2 March 9th 05 06:11 PM
How can I prevent a long document changing when opened on other c. warbara Page Layout 1 December 28th 04 03:05 PM


All times are GMT +1. The time now is 05:58 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"