Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 12-23-2009, 12:04 AM
advin advin is offline Access MailMerge DataSource in VB Windows XP Access MailMerge DataSource in VB Office 2007
Novice
Access MailMerge DataSource in VB
 
Join Date: Dec 2009
Posts: 2
advin is on a distinguished road
Default Access MailMerge DataSource in VB

Hallo,



I'm trying to acces the DataSource via
Code:
Doc.MailMerge.DataSource.DataFields(INDEX/FIELDNAME).Value
usually this is no problem, but in case of two fields i get an error stating that the memory is corrupt/ or an Automation error!

I have no problems accessing the Name property via:
Code:
Doc.MailMerge.DataSource.DataFields(INDEX/FIELDNAME).Name
!

Any ideas what wrong with those two fields?

p.s.: when running the merge ALL fields are populated correctly! Only accessing the fields via VBA is causing an error!

regards, advin
Reply With Quote
 

Tags
mailmerge, memory



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't mailmerge on downloaded word form pilgrimist Mail Merge 0 12-18-2009 04:18 AM
Problem With Formatting Mailmerge Fields revans611 Mail Merge 0 05-31-2009 06:20 PM
Changing DataSource ntfirewall Mail Merge 0 03-30-2007 06:01 AM
Mailmerge Formula mridley Mail Merge 0 07-27-2006 03:16 AM
Access MailMerge DataSource in VB Can Access access folders & sub-folders and dig out data? nrg Office 4 06-20-2005 11:09 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 01:36 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft