BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How to fill the cells of a MS Word Labels Template

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (VCL Components Usage)
View previous topic :: View next topic  
Author Message
rob kemp
Guest





PostPosted: Thu May 10, 2007 8:11 am    Post subject: How to fill the cells of a MS Word Labels Template Reply with quote



Hi,

I have a Table1 that contains the data of many customers (name, address, etc.)
Table1->FieldByName("FirstName")->AsString
Table1->FieldByName("LastName")->AsString
Table1->FieldByName("Company")->AsString
etc.

I need to create a ButtonClick that sends the the content of
all records (all data in the table) to fill the cells of
a MS Word Labels template (generated by the ButtonClick) Avery Standard 8162.

I can fill the labels manualy by doing copy/paste between the Tabel and the Labels template in Word
But I'd like to make this happen with a button click

To manualy select a Labels template in Word
Tools->Letters and Mailings->Envelopes and Labels

Does anyone know how to do this?

thanks
Rob
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (VCL Components Usage) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.