Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Peter Jamieson Peter Jamieson is offline
external usenet poster
 
Posts: 4,582
Default MailMergeDataSource iteration extremly slow

Thanks for posting back. Wow!

Peter Jamieson

http://tips.pjmsn.me.uk

On 26/03/2010 13:03, amr wrote:
Solution to speed it up:

Instead of using self declared indices and the get_item method we have to
use a Word enum.

Word.MappedDataFields fields = dataSrc.MappedDataFields;

string company =
fields[Microsoft.Office.Interop.Word.WdMappedDataFields.w dCompany].Value;

Maybe this helps somebody.

Greets
amr

Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Template - slow loading text and slow when typing Cheryl Seavers Microsoft Word Help 0 July 16th 09 10:55 PM
Help! Slow Word & PP Slow: New Comp pdfernan Microsoft Word Help 0 June 28th 07 02:44 PM
Word:Entering data into a Table very slow, cursor moves very slow Dutt Tables 2 August 3rd 06 04:50 AM
Slow bh6690 Microsoft Word Help 1 March 28th 06 05:53 PM
Word is slow to open and very slow to close Stu20 Microsoft Word Help 1 September 21st 05 04:13 AM


All times are GMT +1. The time now is 08:37 PM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"