template for stickers

  • Thread starter Thread starter Ziver MALHASOGLU
  • Start date Start date
Z

Ziver MALHASOGLU

Hi sleepless passionate coderZ!

I wanna ask you a qustion abot Microsoft Word Templates.

I need to construct a template such that it will contain both static and
dynamic fields. For instance we can think of a phone book on a A4 paper

----------------------------------
First Name: Friend1_Name
Last Name: Friend1_Surname
Phone No: Friend1_PhoneNo
-----------------------------------
----------------------------------
First Name: Friend2_Name
Last Name: Friend2_Surname
Phone No: Friend2_PhoneNo
-----------------------------------
:....

As you see left part (first Name, Last Name, Phone No) is static, so
always the same, but the right portion of the stickers are filled by the
data that comes from the database.

Is there a way that i can implement such an idea:

=> Administrators will construct the template, put some graphics in a
Word Template and, somehow, specify the dynamic parts of the template. After
constructing the tamplate admin will upload the template to a web directory.
I will write an ASP, PHP, or ASP.NET code in order to connect to database
and create a Word document from the template that is uplaoded. How may i
fill the dynamic fields programmatically at the web server? Just tell me a
way to solve this problem no matter in c#, asp or php? I need an answer.

Regards,
Ziver MALHASOGLU
 
Thank you for your answer.

You mean we can generate formatted Word documents programmatically, by
using mail merge functionality? I found a good tutorial about mail merge at
http://personal-computer-tutor.com/services.htm

But it describes mail merge for operating manually, is it possible to
generate such documents programmatically?

Regards,
Ziver
 
Anything you can do with Word can be done programmatically. (Almost)
Mailmerge is certainly no problem.
 
Use a Directory/Catalog type mailmerge main document.

--
Please post any further questions or followup to the newsgroups for the
benefit of others who may be interested. Unsolicited questions forwarded
directly to me will only be answered on a paid consulting basis.
Hope this helps
Doug Robbins - Word MVP
 
Back
Top