remove odbc/ database link from word doc.

P

ppg5800

my friend fwd a word doc. when i go to open it, window pops up saying:

-Opening this document will run following SQL command:

-SELECT *FROM c:\#data/ms-templates\office.doc

-Data from your database will be placed in document. do you want to continue?

-yes or no

my word should not be linked to anything. how can i get rid of this ODBC
link? have windows xp, running office 2003.
 
D

Doug Robbins - Word MVP

See the following Knowledge Base article:

"Opening This Will Run the Following SQL Command" Message When You Open a
Word Document - 825765 at:

http://support.microsoft.com?kbid=825765

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP
 
P

ppg5800

hey doug,

thanks for you help, but that did not solve the problem. i found out if you
just cut and past into a blank doc, and save, word no longer tries to pull
info from a database on the new saved file. just delete the old one, prob
solved.

also, making those changes to the registry did cause weird probs with my
comp. i had to system restore.
 
M

mxk

my friend fwd a worddoc. when i go to open it, window pops up saying:

-Opening this document will run following SQL command:

-SELECT *FROM c:\#data/ms-templates\office.doc

-Data from your database will be placed in document. do you want to continue?

-yes or no

my word should not be linked to anything. how can i get rid of this ODBC
link? have windows xp, running office 2003.

Hi,

Why not try Advanced Word Repair at http://www.datanumen.com/awr/ ?
It recovers several important Word documents for me and is really
helpful!

Alan
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top