View Single Post
  #1   Report Post  
Posted to microsoft.public.word.mailmerge.fields
paul paul is offline
external usenet poster
 
Posts: 249
Default Merged Word 2003/2007 document from .NET website & SQL data

Hi there.
I have a .NET 2.0 website with a SQL server backend. I want to allow the
user to select a report that will be generated & downloaded to the user on
the fly. The report will be based on a stored Word template/document. The
template/document will include either content controls or mail merge tags to
be replaced by data from the SQL database.

I can use Word 2003 or 2007.

I have looked at 2007 content controls but these do not seem to allow
repeated content controls for table data. i.e. order lines from an order. The
reports will have a mixture of single fields and some repeated fields in
tables.

Does anyone know of a suitable solution to this problem and any links to
sample code than may be of use?

Thank you for any help offered.