View Full Version : SQL Backend


ranen
10-04-2006, 09:09 AM
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!!!!:(

pdx_man
10-06-2006, 08:50 AM
Need more detail, please.

ranen
10-19-2006, 02:49 PM
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.

pdx_man
10-20-2006, 02:07 PM
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

ranen
10-21-2006, 02:05 PM
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;trust ed _connection = yes;"
conn.Open

enjoy...;)