I have made an application with access database using Adodc and it works fine.
However, I have set the ConnectionString and RecordSource in the Properties window in VB6. But now I want to write it in the Code.
I need some help. I have written the code and need someone to correct it.
Name of Adodc control is DBase
Code:
DBase.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\APP\Database.mdb;Persist Security Info=False"
DBase.RecordSource = "Table"