R
Robert Thornton
I am trying to insert a database into a document using
{DATABASE} and I am getting an error that the document was
unable to open the data source. The name and location of
the data source changes depending on the situation, so I
am attempting to use {DATABASE \d {DOCVARIABLE datasource}
\s "select * from {DOCVARIABLE datasource}". Here is
where the problem lies. If I manually type in the path to
the data source in the \d parameter, the data merges and
everyone's happy and I keep my job. It seems that the
{DOCVARIABLE} works fine in the \s, but not \d.
Here's what's even stranger. The problem only exists in
Word 2000 on Windows 98. I have not been able to
reproduce the problem anywhere else. If I upgrade the
Office 2000 to Office XP, the first time I try to perform
the operation I get a message that the feature is not
working properly and needs to be repaired. Office then
installs some unknown file or option and the problem goes
away.
{DATABASE} and I am getting an error that the document was
unable to open the data source. The name and location of
the data source changes depending on the situation, so I
am attempting to use {DATABASE \d {DOCVARIABLE datasource}
\s "select * from {DOCVARIABLE datasource}". Here is
where the problem lies. If I manually type in the path to
the data source in the \d parameter, the data merges and
everyone's happy and I keep my job. It seems that the
{DOCVARIABLE} works fine in the \s, but not \d.
Here's what's even stranger. The problem only exists in
Word 2000 on Windows 98. I have not been able to
reproduce the problem anywhere else. If I upgrade the
Office 2000 to Office XP, the first time I try to perform
the operation I get a message that the feature is not
working properly and needs to be repaired. Office then
installs some unknown file or option and the problem goes
away.