A family of Microsoft word processing software products for creating web, email, and print documents.
Hi George
I am trying to get data in MS WORD from SQL SERVER and/or EXCEL files. Like mailmerge. But I don't want to use the mailmerge field code. I have 20+ Pages and 10 different Word documents that need to insert something from Excel or SQL Server Table. I know to use {DATABASE \C connection sting \s SQL query } but in this usage, the pulled data appears as something table on the word page. I am asking if is there any way to assign the pulled data to a bookmark/variable or whatever, in order to use the pulled data in different paragraphs in the same document.
Regards
inci tr
Dear EED2012,
Good day! Thanks for posting in Microsoft Community. We are happy to help you.
According to the reference, \s "SQL" is for SQL instructions, like \s "SELECT * FROM
Table1". As you mentioned “I need to assign returning values of name and surname to specified bookmarks”, may I know more details about your requirement?We look forward to your response. Thanks for your cooperation.
Sincerely,
George | Microsoft Community Moderator