View Single Post
 
Old 10-30-2015, 01:18 PM
macropod's Avatar
macropod macropod is offline Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,467
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

The reason I asked about the data source is that you probably don't need your userform to insert anything; all that's needed is a knowledge of the data structure. After that, it's simply a matter of inserting the appropriate field coding into the document. Once.

It appears you're working with a database that has multiple Defendant fields per record and the max # of Defendant fields is 20. In that case, you could use a document like the attached. The field coding in it provides for all 20 Defendant fields, but only those that have data will actually generate any output. Simply attach it as a mailmerge main document to your database, then Finish the merge and send the output to a new document.
Attached Files
File Type: doc AssociationX.doc (43.0 KB, 12 views)
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote