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
 
Top