Merging to Access

quijote

Registered User.
Local time
Today, 21:02
Joined
Jul 11, 2001
Messages
18
Trying to merge a field on a form to a word document using
.ActiveDocument.Bookmarks("percentaccount").Select
.Selection.Text = (CStr(Forms![freedeliver]![child86]))
The field in question is a subform. I just get an error message. I want to know if there is any way to merge the information form the subform. I do not have any problems merging the information from the form

Any ideas?
 
try referencing the main form, then the subform (that is the problem I always run into):

.ActiveDocument.Bookmarks("percentaccount").Select
.Selection.Text = (CStr(Forms![mainform]![subform]![child86]))
 
Thanks for the help.
 
Now I have another problem. I have multiple records in the subform but when I merge it to Word only the first record is merged. How I can show all the records from the subform
 

Users who are viewing this thread

Back
Top Bottom