J
Jon.NET
Hello there,
I'm after some advice please.
I have a Word Template which uses a number of Bookmarks, the Template are
used to issue Notes to Customers.
The Notes could be 1 customer per page (So I'd use a Page Break), or many
customers per page (Section Break).
I've got a C# App which will Open Word, the Template, then fill in the
Bookmarks.
The Data Source is quite complex - there are 3 data sources, due to 1 - Many
relationships a particular customer has with their Notes.
What I need, on the face of it, is quite simple. I need a way to copy an
entire section, including the Bookmarks, to a new section - ready for the
next customer.
You can (as most will know) copy an entire section - but not the bookmarks,
so what I need is :
1. A way to locate bookmarks in a given section
2. Copy the entire section
3. Move the bookmarks down to the appropriate position ready for the next
customer
I've tryed doing a Mail Merge, which would be ideal, however because its
necessary to have multiple Data Sources, its not possible.
If I was doing 1 customer per document, it would be straightforward, but as
it can be more than 1 per document, its rather more complex.
I've looked at Crystal reports and other reporting tools, but need to keep
the UI as simple as possible, hence why I'm using a Word Template.
This is my first post (or at least first in a long while), so if I've got
the wrong forum please let me know.
Thank you
Jon
I'm after some advice please.
I have a Word Template which uses a number of Bookmarks, the Template are
used to issue Notes to Customers.
The Notes could be 1 customer per page (So I'd use a Page Break), or many
customers per page (Section Break).
I've got a C# App which will Open Word, the Template, then fill in the
Bookmarks.
The Data Source is quite complex - there are 3 data sources, due to 1 - Many
relationships a particular customer has with their Notes.
What I need, on the face of it, is quite simple. I need a way to copy an
entire section, including the Bookmarks, to a new section - ready for the
next customer.
You can (as most will know) copy an entire section - but not the bookmarks,
so what I need is :
1. A way to locate bookmarks in a given section
2. Copy the entire section
3. Move the bookmarks down to the appropriate position ready for the next
customer
I've tryed doing a Mail Merge, which would be ideal, however because its
necessary to have multiple Data Sources, its not possible.
If I was doing 1 customer per document, it would be straightforward, but as
it can be more than 1 per document, its rather more complex.
I've looked at Crystal reports and other reporting tools, but need to keep
the UI as simple as possible, hence why I'm using a Word Template.
This is my first post (or at least first in a long while), so if I've got
the wrong forum please let me know.
Thank you
Jon