Hi
I've created code (using examples from the forums) to export data from an active form/subforms to Word, this all works okay.
One of the controls is a combo box displaying a linked field from a select query.
My problem is that the code prints correctly the contents of the bound field
[contactID] and I want it to print the contents of the linked field [contact name] and I can't remember how to do it.
I'd be grateful for a pointer.
Steven811
The code to export the bound field is as follows:
[.ActiveDocument.Bookmarks("cboManager").Select
.Selection.Text = (CStr(Me!subForm1.Form!subForm2.Form!cboManager))]
I've created code (using examples from the forums) to export data from an active form/subforms to Word, this all works okay.
One of the controls is a combo box displaying a linked field from a select query.
My problem is that the code prints correctly the contents of the bound field
[contactID] and I want it to print the contents of the linked field [contact name] and I can't remember how to do it.
I'd be grateful for a pointer.
Steven811
The code to export the bound field is as follows:
[.ActiveDocument.Bookmarks("cboManager").Select
.Selection.Text = (CStr(Me!subForm1.Form!subForm2.Form!cboManager))]