General information
Category:
COM/DCOM and OLE Automation
Environment versions
Network:
Windows 2000 Server
I think I'm going to scrap the idea of using mail merge...researching this led me to creating a "catalog/directory" mail merge, but then i had trouble creating subsequent documents.
Anyway, I'm going to go back to using bookmarks and see how slow it will really be....J
>>>>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
>
>I'm using Microsoft Word 2000, but, of course, need this to work in various versions.
>
>I'm trying to make sense of Word "Next Record If" field, and added a First_Employer_Record field that contains a "Y" if it's the first record for the employer, otherwise, it contains a "N".
>
>But I am still getting one detail record per page.
>
>J
Previous
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