General information
Category:
COM/DCOM and OLE Automation
Environment versions
Network:
Windows 2000 Server
>>Hi,
>>Is it possible to generate mail merge document that contains master and child table such as invoice and invoice details?
>>
>
>Word doesn't support a parent-child set-up, so you need to generate a flat cursor as the data source for the merge.
>
>Tamar
Hi Tamar,
I'm using your great Automation book to help me out here.
Once I have my flat cursor built, how do i tell Word to start a new document, i.e., I have a header source something like:
Employer_name, Employer_address, detail
and data source:
Employer1Name, Employer1Address, detail1
Employer1Name, Employer1Address, detail2
Employer1Name, Employer1Address, detail3
etc.
Employer2Name, Employer12Address, detail1
Employer2Name, Employer12Address, detail2
Employer2Name, Employer12Address, detail3
etc.
Where all the details for employer1 should be in one document, all details for employer 2 in the second document, etc.
Thanks...J
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only