Hi,
I am using Access databases
I want to copy data from one database to other database, ADODB connection names are DbSource and DbTarget.
I have placed 2 ListBoxes on the form, list1 and list2, and get all the tables of DbSource in List1 and DbTarget in List2
I tried to write this code but not working....
any help will be highly aapriciated
I am using Access databases
I want to copy data from one database to other database, ADODB connection names are DbSource and DbTarget.
I have placed 2 ListBoxes on the form, list1 and list2, and get all the tables of DbSource in List1 and DbTarget in List2
I tried to write this code but not working....
Code:
DbTarget.Execute "Insert into " & List1.List(I) & " Select * from " & List1.List(I)