Dear all,
my application consists of a back end & front end. From the front end I want to do some simple SQL operations on the back end.
First thing i would do is connect to the back end like this:
Then I'd like to pass a message like:
In the same way i'd like to update some records and insert new ones.
I do know the SQL statements for these commands, but I don't know how to pass them via ADO to a back end database.
Please note that the tables cannot be linked, that is a requirement.
Kind regards,
Hans B.
my application consists of a back end & front end. From the front end I want to do some simple SQL operations on the back end.
First thing i would do is connect to the back end like this:
Code:
' connect to back end
cnnbe.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=G:\Database BE.mdb;Jet OLEDB:Database Password=Porky;"
Then I'd like to pass a message like:
Code:
"Delete * from tblapples"
In the same way i'd like to update some records and insert new ones.
I do know the SQL statements for these commands, but I don't know how to pass them via ADO to a back end database.
Please note that the tables cannot be linked, that is a requirement.
Kind regards,
Hans B.