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
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.