View Full Version : Merging to Access


quijote
07-11-2001, 08:09 AM
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?

jatfill
07-11-2001, 08:32 AM
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]))

quijote
07-11-2001, 10:19 AM
Thanks for the help.

quijote
07-11-2001, 10:32 AM
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