TheFreeGo
asked on
SQL requests on a access database on a webserver....
Right now i am sending SQL requests to my access database om my computer. But i want to do the same with a database on a webserver.
This i how i connect right now.
----
AdoDbQ := TADOQuery.Create(nil);
AdoDbQ.Prepared := True;
AdoDbQ.ConnectionString := 'Provider=Microsoft.Jet.OL EDB.4.0; Data Source=db.mdb;Persist Security Info=False;Jet OLEDB:Database Password=';
AdoDbQ.SQL.Text := 'SQL request';
AdoDbQ.Open;
AdoDbQ.Close;
----
But what do i do when the database is placed on a webserver? and how can i write to it...?
This i how i connect right now.
----
AdoDbQ := TADOQuery.Create(nil);
AdoDbQ.Prepared := True;
AdoDbQ.ConnectionString := 'Provider=Microsoft.Jet.OL
AdoDbQ.SQL.Text := 'SQL request';
AdoDbQ.Open;
AdoDbQ.Close;
----
But what do i do when the database is placed on a webserver? and how can i write to it...?
ASKER
No... the database i placed on a normal webserver, like http://www.mydomain.com/db.mdb/
I've heard about mySQL, what is it and can it be used...? The webserver supports it...
I've heard about mySQL, what is it and can it be used...? The webserver supports it...
You want to open Access database from URL i.e using http to connect to it from anywhere?
Or you want to be able to run your site off the Access db?
I don't get it...
Or you want to be able to run your site off the Access db?
I don't get it...
ASKER
I want to treat the DB like i was placed on my own computer(the client) but only, it is placed on a webserver with a location like this: http://www.mydomain.com/db.mdb.
Because then, all the clients will share the same database.
Because then, all the clients will share the same database.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
TheFreeGo:
This old question needs to be finalized -- accept an answer, split points, or get a refund. For information on your options, please click here-> http:/help/closing.jsp#1
EXPERTS:
Post your closing recommendations! No comment means you don't care.
This old question needs to be finalized -- accept an answer, split points, or get a refund. For information on your options, please click here-> http:/help/closing.jsp#1
EXPERTS:
Post your closing recommendations! No comment means you don't care.
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area for this question:
to accept bogiboy's answer
Please leave any comments here within the next seven days.
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
Some days and here is the Christmas Time. I wish good luck and good health for you all and for your loved ones
kacor
EE Cleanup Volunteer
I will leave a recommendation in the Cleanup topic area for this question:
to accept bogiboy's answer
Please leave any comments here within the next seven days.
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
Some days and here is the Christmas Time. I wish good luck and good health for you all and for your loved ones
kacor
EE Cleanup Volunteer
If MS Access db is on web server and you want to open it from your machine, you have to share that folder on web server where .mdb is located, then just use
'...Source=\\myWebserverNe
and that's it.
If you want to access it from the Web application, that's another story. Depends on how you will develop Web app (Delphi, .asp, asp.net, jsp....)