Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.docmanagement
paul paul is offline
external usenet poster
 
Posts: 249
Default Create Word 03/07 doc from .NET website with 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.

Please note that I have also posted this request in the mailmerge group as I
was not sure which group is the best one to go for. Apologies for any
duplication of effort on anyones part.
  #2   Report Post  
Posted to microsoft.public.word.docmanagement
Robert M. Franz (RMF) Robert M. Franz (RMF) is offline
external usenet poster
 
Posts: 1,741
Default Create Word 03/07 doc from .NET website with SQL data

Hello Paul

Paul wrote:
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.


Not sure what that means: are you planning to run Word itself on the
server? Highly discouraged (and unsupported).

I _think_ that generating the Word document in XML on the server and
handing that out to the user (who then needs Word 2003 pro at least)
would be the proper way to do such a thing these days. But since I'm no
developer ... I'd start looking in MSDN.

HTH
Robert
--
/"\ ASCII Ribbon Campaign | MS
\ / | MVP
X Against HTML | for
/ \ in e-mail & news | Word
Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I create a fax cover in Word using Outlook data Darrell Mailmerge 3 December 8th 06 10:56 AM
How do I create a fax cover in Word using Outlook data Darrell Mailmerge 0 December 7th 06 05:05 PM
How do I create a website in Word, like I could in Word 2000? Visual Microsoft Word Help 2 September 19th 06 12:26 PM
Where can i get template to create 5 page website in MSword2003 Deepa New Users 3 February 1st 06 06:02 PM
How do I create a report in Word from data in Excel, I need to au. Oileanach New Users 1 March 15th 05 03:19 PM


All times are GMT +1. The time now is 11:52 AM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"