Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #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
  #2  
Old 01-04-2010, 01:34 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 Additional information

Here's the detailed error message:

"Runtimeerror '-2147417848 (80010108)':

Automation error
The called object was disconnected from the clients"

<- i translated it on my own as i recieve a german error!

any hints?
Reply With Quote
Reply

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 11:49 AM.


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