FRONT END: ACCESS 2000 SP3
BACK END: SQL SERVER 2000
I have been making some modifications to the front end, and a
completely unrelated error has occurred. It is unrelated, because the
changes I have made have been to neither the form, nor the underlying
query, nor to the underlying tables.
I have a subform in Datasheet view based on the SQL below. Yesterday,
when the user tried to add a new record to the subform, he had a dialog
with the error "Field cannot be updated". However, with exactly the
same code and a snapshot of the database, I can add records ad
infinitum here. I have tried adding records to my copy of the raw
query (below) in the Access Query builder and that works fine as well.
It means a visit off-site to check my client's code, which I don't want
to do unless I have some ideas to check.
So, you wonderful genii, does anyone have any hints? I have tried
recreating the database, assuming it's corrupted, by importing all the
objects into a vanilla DB, but that didn't solve it.
Thanks
Edward
SELECT dbo_tblPrinter.fldPrinter, dbo_tblPrinterJobs.fldPrinterOrderID,
dbo_tblPrinterOrder.fldStatus, dbo_tblPrinterOrder.fldDateRequired,
dbo_tblPrinterOrder.fldDateReceived, dbo_tblPrinterJobs.fldJobID,
dbo_tblJobs.fldDocumentNumber, dbo_tblJobs.fldRevision,
dbo_tblJobs.fldDateCreated, dbo_tblJobs.fldDateClosed,
dbo_tblJobs.fldNumPages, dbo_tblJobs.fldSingleFoldouts,
dbo_tblJobs.fldDoubleFoldouts
FROM dbo_tblPrinter INNER JOIN (dbo_tblJobs INNER JOIN
(dbo_tblPrinterOrder INNER JOIN dbo_tblPrinterJobs ON
dbo_tblPrinterOrder.fldPrinterOrderID =
dbo_tblPrinterJobs.fldPrinterOrderID) ON dbo_tblJobs.fldJobID =
dbo_tblPrinterJobs.fldJobID) ON dbo_tblPrinter.fldPrinterID =
dbo_tblPrinterOrder.fldPrinterID
WHERE (((dbo_tblPrinterOrder.fldStatus)<>4))
ORDER BY dbo_tblPrinterJobs.fldPrinterOrderID,
dbo_tblPrinterJobs.fldJobID;