M
Michael
I'm automating Word to perform a mail merge. After creating a new Document
and getting the MailMerge object I call OpenDataSource passing the connection
information (Name parameter) and an SQLStatement. This works fine for SELECT
queries on tables and views but it doesn't like stored proceedures.
What is the correct format for the SQLStatement when calling a stored
proceedure?
I'm using the OLEDB provider for SQLServer.
Thanks
Michael
and getting the MailMerge object I call OpenDataSource passing the connection
information (Name parameter) and an SQLStatement. This works fine for SELECT
queries on tables and views but it doesn't like stored proceedures.
What is the correct format for the SQLStatement when calling a stored
proceedure?
I'm using the OLEDB provider for SQLServer.
Thanks
Michael