Hello Everyone,
I have been working on a project where I need to perform a Mail-Merge to word with several records. I have a sub-report which I need to Concatenate to one Merge-Field. I am having problems getting Duane Hookom's Generic Function To Concatenate Child Records to work.
The function I am trying to use is located at the following address:
You must copy and paste the URL in a browser....
--------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------
I was able to get the Concatenate sql query to work perfectly in MS Access but when I tried to perform the Mail-Merge to word I am getting the following error:
Word was unable to open the data source.
I have right clicked the query in MS Access and tried to export it to a mail merged word document. I selected a new document and I get a select table dialog box with only the tables listed and none of the concatenated queries. I clicked options and selected the views check box and was able to see the concatenated query. When I select it I get the following error message box in word:
Word was unable to open the data source.
I have tried the mail merge wizard in word and I am not even able to see the concatenated query as an option to select.
I created a standard union query in ms access just to test it and I was able to merge it to a word document with no problems.
I have tried using ADO and DAO in the basConcatenate module and still no luck. Is there something I am needing to merge the concatenated queries like a reference in VBA for Word or Access.
Any help I can get would be very much appreciated....
Thanks,
Mark Foster
I have been working on a project where I need to perform a Mail-Merge to word with several records. I have a sub-report which I need to Concatenate to one Merge-Field. I am having problems getting Duane Hookom's Generic Function To Concatenate Child Records to work.
The function I am trying to use is located at the following address:
You must copy and paste the URL in a browser....
--------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------
I was able to get the Concatenate sql query to work perfectly in MS Access but when I tried to perform the Mail-Merge to word I am getting the following error:
Word was unable to open the data source.
I have right clicked the query in MS Access and tried to export it to a mail merged word document. I selected a new document and I get a select table dialog box with only the tables listed and none of the concatenated queries. I clicked options and selected the views check box and was able to see the concatenated query. When I select it I get the following error message box in word:
Word was unable to open the data source.
I have tried the mail merge wizard in word and I am not even able to see the concatenated query as an option to select.
I created a standard union query in ms access just to test it and I was able to merge it to a word document with no problems.
I have tried using ADO and DAO in the basConcatenate module and still no luck. Is there something I am needing to merge the concatenated queries like a reference in VBA for Word or Access.
Any help I can get would be very much appreciated....
Thanks,
Mark Foster