howtoprogram
Programmer
I tried to link table from SQL server in Access application everytime I open the form.
I set up a ODBC connection box on my local PC , it's work fine..but this application will be using accross my group, and I dont want to set up ODBC local box on each machine, but instead I used DSN less connect(I Found this code in another website) but it did not show me how to link the table from SQL Server..anyone can help me??
here is
Set demoConn = Server.CreateObject("ADODB.Connection")
demoPath="DRIVER={SQLServer};" & _
"SERVER=TheServer;UID=TheUser;" & _
"PWD=ThePassword;DATABASE=TheDatabase"
demoConn.open demoPath
I didn't even know how to test to see if the connection is work or not..
please hep me how to link the tables..
I set up a ODBC connection box on my local PC , it's work fine..but this application will be using accross my group, and I dont want to set up ODBC local box on each machine, but instead I used DSN less connect(I Found this code in another website) but it did not show me how to link the table from SQL Server..anyone can help me??
here is
Set demoConn = Server.CreateObject("ADODB.Connection")
demoPath="DRIVER={SQLServer};" & _
"SERVER=TheServer;UID=TheUser;" & _
"PWD=ThePassword;DATABASE=TheDatabase"
demoConn.open demoPath
I didn't even know how to test to see if the connection is work or not..
please hep me how to link the tables..