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

Re: Reference to Template Project (Code) by Word

Word
Mon Feb 07 00:55:38 CST 2005

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,
>
>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


Re: Reference to Template Project (Code) by paulmac106

paulmac106
Fri Feb 25 11:25:43 CST 2005

that was it....thank you!!