Hi
The following code works successfully (almost) for mail merging an active form/sub form data to a Word doc.
Using the form/subform faq advice I am now using the correct syntax, I've got it working to the next 2nd subform.
Is there a limit to the number of subforms that I can refer to?
The code I am now using successfully is as follows:
.ActiveDocument.Bookmarks("MyControl").Select
.Selection.Text = (CStr(Me!subform1.Form!subform2.Form!MyControl))
I would like to get to the following:
.ActiveDocument.Bookmarks("MyControl").Select
.Selection.Text = (CStr(Me!subform1.Form!subform2.Form!subform3.Form!subform4.Form!MyControl))
Are there any limitations I should be aware of?
Thanks
Steven811 - Novice
The following code works successfully (almost) for mail merging an active form/sub form data to a Word doc.
Using the form/subform faq advice I am now using the correct syntax, I've got it working to the next 2nd subform.
Is there a limit to the number of subforms that I can refer to?
The code I am now using successfully is as follows:
.ActiveDocument.Bookmarks("MyControl").Select
.Selection.Text = (CStr(Me!subform1.Form!subform2.Form!MyControl))
I would like to get to the following:
.ActiveDocument.Bookmarks("MyControl").Select
.Selection.Text = (CStr(Me!subform1.Form!subform2.Form!subform3.Form!subform4.Form!MyControl))
Are there any limitations I should be aware of?
Thanks
Steven811 - Novice