remove data source

M

markg

How can I completely remove a datasource from a document.

I can close a datasource with the code:

ActiveDocument.MailMerge.DataSource.Close

but the next time I open the document I am still prompted that "Opening
the document will run the following sql..."

The only way we have found to remove a datasource is to copy the
contents of the document to a new blank document.

Any suggestions.

-mark gordon
 

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