Share via

SQL command to run when opening Word document

Anonymous
2023-11-09T05:18:50+00:00

Hi,

I have 10 documents that had an SQL command run when opening to populate the documents.

Only 1 off the documents runs the command now and the other 9 just open regularly. How do I reattach the SQL command to the other 9?

Thanks for any help!

Microsoft 365 and Office | Word | For business | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

1 answer

Sort by: Most helpful
  1. Doug Robbins - MVP - Office Apps and Services 323.1K Reputation points MVP Volunteer Moderator
    2023-11-09T07:52:06+00:00

    You will need to set the documents to some form of mail merge main document, such as Letters, and then attach the relevant data source.

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments