Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 Other Forums
 MS Access
 Database Problem - conflicts

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2001-03-15 : 00:03:17
Chris writes "Hello,

I hope you can help me.

Here's the code first:
.....
function Searchfkt1() {
var oConn;
var filePath;
var strFind;
var objRec;
filePath = Server.MapPath("theater.mdb");
oConn = Server.CreateObject("ADODB.Connection");
objRec = Server.CreateObject("ADODB.Recordset");
oConn.Open("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" +filePath);
objRec.ActiveConnection = oConn;
objRec.Open("Veranstaltungen");
strFind = Request.QueryString("VAN_Text");
objRec.Find("stueck Like strfind");
........

The Database can't be opened (It's an Access Database, but I usually use SQL Statements). I don't know why... The error is, that some Objects conflict with each other, what I don't understand..."
   

- Advertisement -