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 / Programming / February 2005

Tip: Looking for answers? Try searching our database.

Reference to Template Project (Code)

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
paulmac106@hotmail.com - 02 Feb 2005 17:23 GMT
Hi,

I've created a template, that when a user clicks a buton, the document
merges with a record in a SQL db.

Works great except that when a user opens up the document later, they
in turn open the project of the template (or a reference to the
template project)

Ultimately this locks me out of making changes to the actual template
file, because the user creates a lock on both files when they open just
the doc file

Am I saving the code for the merge in the wrong place? or is there a
way to break the connection to the template code after the sub routine
is called?

thanks,
Paul
Word Heretic - 07 Feb 2005 06:52 GMT
G'day paulmac106@hotmail.com,

After importing the db, change the activedocument.attachedtemplate to
normal or something else.

Steve Hudson - Word Heretic

steve from wordheretic.com (Email replies require payment)
Without prejudice

paulmac106@hotmail.com reckoned:

>Hi,
>
[quoted text clipped - 15 lines]
>thanks,
>Paul
paulmac106@hotmail.com - 25 Feb 2005 17:25 GMT
that was it....thank you!!
 
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.