Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / November 2005

Tip: Looking for answers? Try searching our database.

Using SQL in Word MailMerge

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Dale - 17 Nov 2005 16:15 GMT
Hello all

Can anyone suggest how I can implement a way to programatically choose
certain records in a mail merge?  I've been getting some results through
trial and error but if someone post some code to help me better understand
the process that would be great.

From my data, I'd like to choose the first two records and the last two
records and every X records to come up with about 20 sample records no
matter the size of the data file.

Anyone out there trying to do something similar?

Regards
Dale
Margaret Bartley - 22 Nov 2005 21:46 GMT
I suspect you would be better off to create a query in your data source that
does that logic, and then run that query, rather than select the whole set
of data and try to have the MailMerge interface do that logic.  That's what
you're paying MS to do, for you.

> Hello all
>
[quoted text clipped - 11 lines]
> Regards
> Dale

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.