When you open a Word mail merge main document that is linked to a data source, you may receive the following message:
Opening this will run the following SQL command:
SELECT * FROM C:\file_name.log
Data from your database will be placed in the document. Do you want to continue?
This message helps protect you from unintentionally sending data to a malicious user.
To suppress this message, you must first create the following registry key:
- Open Registry Editor.
- Locate, and then click the following registry key:
(Use 12.0 for Word 2007)
- Click Edit, point to New, and then click DWORD Value.
- Under Name, type:
- Double-click SQLSecurityCheck.
- In the Value data box, type:
Microsoft KB 825765
Installing Office XP SP3 appears to cause the same problem. For Word 2002 (XP also known as 10.0) you need to place the registry key in: HKEY_CURRENT_USER\Software\Microsoft\Office\10.0\Word\Options
(Thanks to Brian Livingston at WindowsSecrets.com for pointing the way to a solution)
See all Topics word