Dim Cnn
Dim strCnn
Dim Rst
strCnn="rovider=SQLOLEDB.1ersist Security Info=False;User ID=sa;Initial Catalog=test;Data Source=A1"
Set Cnn=CreateObject("ADODB.Connection")
Cnn.Open strCnn
Set Rst=CreateObject("ADODB.Recordset")
Rst.Open "select username from name ",Cnn
Rst.MoveFirst
Dim Cnn
Dim strCnn
Dim Rst
strCnn="rovider=SQLOLEDB.1ersist Security Info=False;User ID=sa;Initial Catalog=test;Data Source=A1"
Set Cnn=CreateObject("ADODB.Connection")
Cnn.Open strCnn
Set Rst=CreateObject("ADODB.Recordset")
Rst.Open "select username from name ",Cnn
Rst.MoveFirst