Everyone,
I placed an ADO control on the form and text box on the form, however I keep getting "Data Source name not found and
no default driver specified" when I run the following
in VB 6 .... I ran it with the DSN and without...
I am trying a simple connection to the Pubs database
in MSSQL Sever 7
Adodc1.ConnectionString = "Driver=(SQL Server);Server=Myserver; Database=pubs; Uid=username;Pwd=password"
Adodc1.RecordSource = "select * from titles"
Set Text1.DataSource = Adodc1
Text1.DataField = "title"
I placed an ADO control on the form and text box on the form, however I keep getting "Data Source name not found and
no default driver specified" when I run the following
in VB 6 .... I ran it with the DSN and without...
I am trying a simple connection to the Pubs database
in MSSQL Sever 7
Adodc1.ConnectionString = "Driver=(SQL Server);Server=Myserver; Database=pubs; Uid=username;Pwd=password"
Adodc1.RecordSource = "select * from titles"
Set Text1.DataSource = Adodc1
Text1.DataField = "title"