i have an adodc control on my startup form. in the forms load event i use this code...
sConnect = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & App.Path & "\Classes.mdb;Mode=ReadWrite;Persist Security Info=False;Jet OLEDB
atabase Password=TEST"
With Adodc_Teacher
.ConnectionString = sConnect
.RecordSource = "Select * From Teacher WHERE ID=1"
.Refresh
End With
i have the adodc to use a connection string with a commantype "adCmdText". anyone see the problem here??
sConnect = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & App.Path & "\Classes.mdb;Mode=ReadWrite;Persist Security Info=False;Jet OLEDB
With Adodc_Teacher
.ConnectionString = sConnect
.RecordSource = "Select * From Teacher WHERE ID=1"
.Refresh
End With
i have the adodc to use a connection string with a commantype "adCmdText". anyone see the problem here??