N
nickf123 via AccessMonster.com
Hello,
I'm having some trouble with a Select query I wrote; I'm getting "Error 3027 -
Cannot update. Database or Object is read-only." I think it's a problem with
my SQL statement, which is executed from VBA. All of my other
queries/recordsets work, so it's not the database or permissions; the query
even executes correctly, I can view the datasheet and it contains all my
desired values, but changing them does not work. Here is the SQL:
SELECT [Tbl - Mod BOM].* FROM ([Tbl - Mod Kits Progress] INNER JOIN [Tbl -
Step Definitions] ON [Tbl - Mod Kits Progress].[ID Step] = [Tbl - Step
Definitions].[ID Step]) INNER JOIN [Tbl - Mod BOM] ON [Tbl - Mod Kits
Progress].Unicode = [Tbl - Mod BOM].Unicode WHERE ((([Tbl - Step Definitions].
Number)=2) AND (([Tbl - Mod Kits Progress].[To Be Modified])=True) AND ((
[Tbl - Step Definitions].[Category]) = [Tbl - Mod BOM].[Category]));
This SQL opens up a recordset; I can browse the recordset and see all my
values, but cannot edit or addnew. I know enough about SQL to stumble through
writing a query, but as far as updating rules, etc. go, I am clueless. Any
help would be greatly appreciated.
-Nick
I'm having some trouble with a Select query I wrote; I'm getting "Error 3027 -
Cannot update. Database or Object is read-only." I think it's a problem with
my SQL statement, which is executed from VBA. All of my other
queries/recordsets work, so it's not the database or permissions; the query
even executes correctly, I can view the datasheet and it contains all my
desired values, but changing them does not work. Here is the SQL:
SELECT [Tbl - Mod BOM].* FROM ([Tbl - Mod Kits Progress] INNER JOIN [Tbl -
Step Definitions] ON [Tbl - Mod Kits Progress].[ID Step] = [Tbl - Step
Definitions].[ID Step]) INNER JOIN [Tbl - Mod BOM] ON [Tbl - Mod Kits
Progress].Unicode = [Tbl - Mod BOM].Unicode WHERE ((([Tbl - Step Definitions].
Number)=2) AND (([Tbl - Mod Kits Progress].[To Be Modified])=True) AND ((
[Tbl - Step Definitions].[Category]) = [Tbl - Mod BOM].[Category]));
This SQL opens up a recordset; I can browse the recordset and see all my
values, but cannot edit or addnew. I know enough about SQL to stumble through
writing a query, but as far as updating rules, etc. go, I am clueless. Any
help would be greatly appreciated.
-Nick