I wrote a simple script form handler using ASP3.0 / VBScript and would like to add the entered data (via the Internet) to the Access database located on my server. I use the OLEDB method to connect as follows:
Cst = "PROVIDER=Microsoft.Jet.OLEDB.4.0;" & _
"DATA SOURCE=" & Server.MapPath("DataBase.mdb")
Dim Conn
Set Conn = CreateObject("ADODB.Connection")
Conn.Mode = 3
Conn.Open Cst
Blah Blah Blah...
I currently have a file called ADOVBS.inc which is included at the top, but would like to drop it because I consider it inefficient and wasteful. I would like to define constants as I need them, but I do not know how to do this. What ADO constants do I need to define and where? The book I use basically says: "Forget it, the pound includes those 400 or so mounds there and don't ask stupid questions!"
Any concrete examples / help are appreciated.
Thank,