ClulessChris
IS-IT--Management
I have a routine that uses an SQL statment to save a record, somthing like:
set db = "file Path"
set rst1 = db.Openrecordset _
("SELECT tblone.*, tbltwo.*, tblthree.* FROM tblone, tbltwo, tblthree WHERE tblone.field1 = " & lblone & " AND tbltwo.field2 = " & lbltwo & " AND tblthree.field3 = " & lblthree, dbOpenDynaset)
With rst
.Edit
It's at this point I get an err "database is read only". The back end is fine and if I break the SQL down to a more simple statment i get no err.
Can anyone help me work around this?
Thanks in advance for any help.
set db = "file Path"
set rst1 = db.Openrecordset _
("SELECT tblone.*, tbltwo.*, tblthree.* FROM tblone, tbltwo, tblthree WHERE tblone.field1 = " & lblone & " AND tbltwo.field2 = " & lbltwo & " AND tblthree.field3 = " & lblthree, dbOpenDynaset)
With rst
.Edit
It's at this point I get an err "database is read only". The back end is fine and if I break the SQL down to a more simple statment i get no err.
Can anyone help me work around this?
Thanks in advance for any help.