Using T-sql stored procedures with Mail Merge

  • Thread starter Thread starter Sylvester Simmons via AccessMonster.com
  • Start date Start date
S

Sylvester Simmons via AccessMonster.com

Is there any way to use or refer to a sql stored procedure in a vb mail
merge program?
 
Not directly, You cannot use T-SQL from within VB. You can pass a
SQL-Statement (ANSI-92 compliant SQL) from VB, and you can run a Stored
Procedure using T-SQL and use ODBC to connect and merge with the Stored
Proc's output.
--
Arvin Meyer, MCP, MVP
Microsoft Access
Free Access downloads:
http://www.datastrat.com
http://www.mvps.org/access
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top