TheWizard78
Programmer
Hi group,
I have create manually a new word document and I have link it with a free table (dbf), then I have insert all the 5 fields. My table contain only 100 records. I have save my document and quit word. Now the information related to this tables is save inside this document. How can I remove the mailmerge from my document and leave the information according to the table in my document
Because I want to send this doc file by email without sending the table and keep the information inside it.
For all the records.
The way I have use to do my mailmerge is :
oWord = CreateObject("Word.Application")
I have try with:
oWord.ActiveDocument.MailMerge.DataSource.Close()
but it only close the table, it doesn't remove the ConnectString and TableName from the document
Do anyone have a solution for this problem
I have create manually a new word document and I have link it with a free table (dbf), then I have insert all the 5 fields. My table contain only 100 records. I have save my document and quit word. Now the information related to this tables is save inside this document. How can I remove the mailmerge from my document and leave the information according to the table in my document
Because I want to send this doc file by email without sending the table and keep the information inside it.
For all the records.
The way I have use to do my mailmerge is :
oWord = CreateObject("Word.Application")
I have try with:
oWord.ActiveDocument.MailMerge.DataSource.Close()
but it only close the table, it doesn't remove the ConnectString and TableName from the document
Do anyone have a solution for this problem