Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Interop / October 2005

Tip: Looking for answers? Try searching our database.

suppress blank page

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Veena - 20 Oct 2005 20:43 GMT
I am using visual c#.net to do Mail Merge with Microsoft Word 2003. When the
word document has 18 or more merge fields, the merged document works fine,
but creates a blank page at the end.

Please let me know, if you have a solution for this issue.
John Kortis - 22 Oct 2005 13:32 GMT
One of the fields being merged may have a size which pushes subsequent pages
down one line forcing a new or blank page.  You would have to create some
controls of the merged fields to see which one may be doing this but I do
not know of any scenario which would natively cause this behavior.  Tyr and
decrease th margin size of the document to accommodate an extra line or two
and see if that gets it!

I never liked Mail Merge as an automation (too many untrollable factors), we
have created solutions which do search and replaces that way people don't
have to know special formats to make the mail merge work.  You simply add
something like <+firstname+> as a field and replace the data from an xml
stream.  Give the users (librairans, etc) a list of fields they can use and
they can create as many documents as they like.  Furthermore you can use
this technique to create Master documents and add combinations of documents
on the fly for a more robust printing solution (tougher to do in an
automated mail merge).

Good Luck!
john

> I am using visual c#.net to do Mail Merge with Microsoft Word 2003. When the
> word document has 18 or more merge fields, the merged document works fine,
> but creates a blank page at the end.
>
> Please let me know, if you have a solution for this issue.

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
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.