Wrox Programmer Forums
|
ASP.NET 1.1 As of 10/6/2005, this forum is locked as part of the reorganization described here: http://p2p.wrox.com/topic.asp?TOPIC_ID=35394. No posts have been deleted. Open ongoing discussions from the last week have been moved to either ASP.NET 1.0 and 1.1 Beginners http://p2p.wrox.com/asp-net-1-0-1-1-basics-60/ or ASP.NET 1.0 and 1.1 Professional. http://p2p.wrox.com/forum.asp?FORUM_ID=50. See my sticky post inside for more.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.1 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 12th, 2005, 08:14 AM
Friend of Wrox
 
Join Date: Aug 2004
Posts: 550
Thanks: 0
Thanked 1 Time in 1 Post
Default WINWORD

Hi friends

Can anyone help me. I have 2 values in my database, say

Field SchoolName: School
Field SchoolData: Information about the school

I have different datas for different schools says school1,school2 and data1,data2 and so on.

Suppose I have buttons on which the name of the school is displayed. If a user clicks on a particular button, the data should be displayed BUT IN A WORD DOCUMENT, i.e. if he presses any school name, a word doc should open and the data is displayed.

I can pull out the data, BUT HOW TO OPEN THE WORKD DOCUMENT. Please help this is urgent for my office.

Thanks


__________________
Regards
Mike
 
Old January 15th, 2005, 10:39 PM
Friend of Wrox
 
Join Date: Jan 2005
Posts: 108
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi, Mike,

Please see the following link, it may give you some ideas. there are some links to display each state's information.
http://www.codeave.com/asp/code.asp?u_log=142

But if the word report is complex, it's not a good way to write HTML code to generate it. if for every shool the report format is same, just some dynamic data different, you can think about open a word file based on a pre-created word template. you can search "Word.Application" key word in google.

Andraw

Andraw






Similar Threads
Thread Thread Starter Forum Replies Last Post
Kill all winword.exe process before opening Word mckly Pro VB Databases 1 March 6th, 2008 01:34 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.