Connect to SQL programatically

M

Mark

I can't find documentation that explains the syntax for
disconnecting from a SQL Server and connecting to another
in an Access adp. Can someone let me know where I might
find this or post an example.

Thanks
 
N

Norman Yuan

Look at CurrentProject.OpenConnection() and CurrentProject.CloseConnection()
methods
 

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

Top