LittleSmudge
Programmer
I have an ASP page that lookas at an Access database using
Code:
Set Conn = Server.CreateObject("ADODB.Connection")
strconnect = "DRIVER={Microsoft Access Driver (*.mdb)};" _
& "DBQ=" & Server.MapPath("/LS/database/Smudge.mdb") & "; " _
& "wrkgrp=" & Server.MapPath("/LS/database/SmudgeMDW.mdw") & "; " _
& "Usr=Fred; Pwd=abcdef; "
Conn.open strConnect
Set rst = Conn.Execute("SELECT * FROM tblData ")
The problem is that Fred is not a User in SmudgeMDW.mdw HOWEVER the Conn.Execute sill opens the database and I can use rst to read the data
What am I doing wrong that is allowing the data out ?
G LS
spsinkNOJUNK@yahoo.co.uk
Remove the NOJUNK to use.