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 / August 2004

Tip: Looking for answers? Try searching our database.

Opening Word multiple times with linked text file.

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Don - 09 Aug 2004 13:07 GMT
Hello, I'm using Access 97 to open a Word document that is a legal document
for my client.  I'm using the merge feature in Word to insert certain data
stored in a SQL Server database that changes earch time the report is run.  I
put a text file on the network that Word uses for the merge.  The problem is
when a second person tries to open the same report.  When I run:

DoCmd.TransferText acExportDelim, , "TableName", rs!Directory &
"\tmpLegal.txt", True

I get the following error message.

The Microsoft Jet database engine cannot open the file 'tmpLegal.txt'.  It
is already opened exclusively by another user, or you need permission to view
its data.

How can you get around this message.

Thanks

Don
Peter Jamieson - 09 Aug 2004 23:11 GMT
Do you really need to export a text file at all? Word won't open such files
as data sources in shared mode, as you have discovered. But could you get
the data directly from Access (which can be set up to be shared) using a
table or query? Or perhaps even directly from SQL Server?

Signature

Peter Jamieson

> Hello, I'm using Access 97 to open a Word document that is a legal document
> for my client.  I'm using the merge feature in Word to insert certain data
[quoted text clipped - 16 lines]
>
> Don

Rate this thread:






 
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.