View Single Post
 
Old 01-04-2020, 09:01 PM
macropod's Avatar
macropod macropod is offline Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,521
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Quote:
Originally Posted by chunkyfresh View Post
Where do I indicate the Data Source in this script? Is there a way I can call it directly by it?
You don't - the code is intended to be run from a mailmerge main document, in which case the document is automatically connected to the data source when you answer 'Yes' to the SQL prompt Word gives when you open it.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote