G
Gray Sadler via AccessMonster.com
I have a query that I'm trying to transfertext from, and then use that text
file as the source for my mail merge in Word. Here's an example of the output
my query gives:
---------------------------------------
ID Name Code
1 ABC Co. 5555
1 ABC Co. 4444
1 ABC Co. 1111
2 XYZ Inc. 4545
2 XYZ Inc. 6565
---------------------------------------
I then want to create a mail merge document in Word that will create forms
for each 'ID' with a 'subform' of sorts on each form that will list all
'Codes' from my query based on the ID.
Example of Mail Merge Word Doc(based from Query above):
-------------Record 1--------------
Name: ABC Co.
ID: 1
Codes: 5555
4444
1111
----------end of record 1----------
--------------Record 2-------------
Name: XYZ Inc.
ID: 2
Codes: 4545
6565
----------end of record 2----------
I can easily do this in Access by creating a Main form with a subform that
kicks out codes based on the ID of the open form, but is something like this
possible in Word? Any help is greatly appreciated!
file as the source for my mail merge in Word. Here's an example of the output
my query gives:
---------------------------------------
ID Name Code
1 ABC Co. 5555
1 ABC Co. 4444
1 ABC Co. 1111
2 XYZ Inc. 4545
2 XYZ Inc. 6565
---------------------------------------
I then want to create a mail merge document in Word that will create forms
for each 'ID' with a 'subform' of sorts on each form that will list all
'Codes' from my query based on the ID.
Example of Mail Merge Word Doc(based from Query above):
-------------Record 1--------------
Name: ABC Co.
ID: 1
Codes: 5555
4444
1111
----------end of record 1----------
--------------Record 2-------------
Name: XYZ Inc.
ID: 2
Codes: 4545
6565
----------end of record 2----------
I can easily do this in Access by creating a Main form with a subform that
kicks out codes based on the ID of the open form, but is something like this
possible in Word? Any help is greatly appreciated!