Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Mailmerge and Fax / December 2005

Tip: Looking for answers? Try searching our database.

Setting a default datasource location

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Junior - 02 Dec 2005 23:07 GMT
Access2K word 2K and 2K3
I developed an MSAccess program that creates txt files, sends them to
C:\Myfolder, then opens mailmerge documents
The mailmerge documents are also in C:\MyFolder and use the txt files as
their datasource.
We have been able to install all files on a New Users workstation in
C:\MyFolder and the mailmerge links remain intact.

Now, I have a delema because the network is changing and the Access program
and mailmerge documents will be moving to
C:\Documents and Settings\username\My Documents.
and the MSAccess program will be sending the datasource txt files to
C:\Documents and Settings\username\My Documents.

I know mailmerge Docs will open and ask the user to browse for the
datasource, but our users will not know how to do this.
Is there a way to instruct the Mailmerge documents (vba or macro) to find
the data source txt files at this new location?
Keeping in mind that the location will be dynamic - i.e. depends on the
username.

One more issue - one of the mailmerge documents has a paragraph that prints
a list based on below code.

{ INCLUDETEXT "C:\\MyFolder\\Missing.txt"  \* MERGEFORMAT}

Thanks of any help, advice.
Junior - 03 Dec 2005 06:13 GMT
Ok - did some experimenting and reading, it appears that My Documents is the
user's default folder
and the mailmerge documents seem to be finding their datasource (on my home
PC ) when both the source file and merge file are in My documents.
would i be correct in assuming that this would work for any user as long as
the source file and merge document are in his/her 'My Documents' folder?

> Access2K word 2K and 2K3
> I developed an MSAccess program that creates txt files, sends them to
[quoted text clipped - 23 lines]
>
> Thanks of any help, advice.
Graham Mayor - 03 Dec 2005 07:26 GMT
If the merge documents are in the same folder as their data sources the
merge documents should find their data files without further interference
(provided there is not a file of similar name in the c:\MyFolder folder).

As for the INCLUDETEXT field - remove the path from the filename and if that
document is in the same folder as the merge document it will find that too,

Signature

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor -  Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>

> Access2K word 2K and 2K3
> I developed an MSAccess program that creates txt files, sends them to
[quoted text clipped - 23 lines]
>
> Thanks of any help, advice.
Junior - 03 Dec 2005 15:20 GMT
Graham - Great news - that makes this change alot easier
thanks for your help

> If the merge documents are in the same folder as their data sources the
> merge documents should find their data files without further interference
[quoted text clipped - 31 lines]
>>
>> Thanks of any help, advice.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.