How to move to the last mail merge record

Rabbit

Member
Hi all,

I have a problem about using mail merge of MSWord. I opened an mail merge document and I want to know how many records were merged before I start my printing.

From the Word help document, we can assign a property MailMerge:MailMergeDataSource:ActiveRecord = wbLastRecord and use the method MailMerge:MailMergeDataSource:ActiveReocrd() to get the number of the records.

But how can I assign the wbLastRecord to the property, becuase in my Progress program, if I write ...ActiveRecord = wbLastRecord, it will treat the wbLastRecord as a variable and return me a syntax error. Please Help!:confused:
 
Top