View Full Version : Merging into Word


harrisw
07-02-2001, 05:46 AM
Trying to merge a field on a form to a word document using
.ActiveDocument.Bookmarks("fieldname").Select
.Selection.Text = (CStr(Forms![frmMain]![subfrmMainCompetitor].Form![fieldname]))
The field in question is a combo box and all that is being merged to the word doc is the bound column number and not the field contents.

Any ideas?

charityg
07-02-2001, 07:07 AM
If the text is in the second column with the first column hidden, use:

.ActiveDocument.Bookmarks("fieldname").Select
.Selection.Text = (CStr(Forms![frmMain]![subfrmMainCompetitor].Form![fieldname].column(1)))

harrisw
07-02-2001, 07:11 AM
Thanks v much that works great