SQL Backend

ranen

pinoy 'to
Local time
Today, 12:24
Joined
Jun 14, 2005
Messages
29
Hello! this is my first time to use sql as backend i don;t know how to use connectionstring and how it works... PLEASE HELP ME!!!!:(
 
Hi pdx_man,

Thank you for the reply. I fixed it already by searching all over the net and test all the info I've searched. Thanks so much. I do appreciate the response.
 
What was the problem and the fix. Please post so the next person searching for connection string issues can perhaps use your research. That is what we are all about here.

:D
 
Hi guys, this is the code that I think I also got in this forum, anyway, i hope this will help someone someday

Dim conn As New ADODB.Connection
Dim rs As New ADODB.Recordset
Dim strSQL As String



Set conn = New ADODB.Connection
Set rs = New ADODB.Recordset
conn.ConnectionString = "driver={SQL Server};server=x.x.x.x;database=databasename;trusted _connection = yes;"
conn.Open

enjoy...;)
 

Users who are viewing this thread

Back
Top Bottom