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
 
Top