PeterWieland
Registered User.
- Local time
- Today, 07:32
- Joined
- Sep 20, 2000
- Messages
- 74
Hi,
I have a very simple Access 2000 frontend, SQL 2000 backend database.
There is a table with 2 key fields on the SQL server that I want to update from a local table in the Access frontend. Only one field needs updating.
I have built a query with the key fields of the SQL table linked to the relevent fields in the Access table as follows:
UPDATE dbo_tblGrades INNER JOIN tblSetImport ON (dbo_tblGrades.SubjectCode = tblSetImport.SubjectCode) AND (dbo_tblGrades.RollNumber = tblSetImport.RollNumber) SET dbo_tblGrades.ClassCode = [tblSetImport]![ClassCode];
When I run the query, I first get a message saying that 16,057 records will be updated, then the warning that 67 records cannot be updated due to lock violations.
There are no other users on the system as I am still developing it, and am running SQL Server Personal. For this particular routine there will never be any other users, as it will be an occasional maintenance function.
I have searched this and other forums for lock violations, but all of the subjects returned only deal with key violations (this includes Access help)
Any Ideas
Thanks
Peter
I have a very simple Access 2000 frontend, SQL 2000 backend database.
There is a table with 2 key fields on the SQL server that I want to update from a local table in the Access frontend. Only one field needs updating.
I have built a query with the key fields of the SQL table linked to the relevent fields in the Access table as follows:
UPDATE dbo_tblGrades INNER JOIN tblSetImport ON (dbo_tblGrades.SubjectCode = tblSetImport.SubjectCode) AND (dbo_tblGrades.RollNumber = tblSetImport.RollNumber) SET dbo_tblGrades.ClassCode = [tblSetImport]![ClassCode];
When I run the query, I first get a message saying that 16,057 records will be updated, then the warning that 67 records cannot be updated due to lock violations.
There are no other users on the system as I am still developing it, and am running SQL Server Personal. For this particular routine there will never be any other users, as it will be an occasional maintenance function.
I have searched this and other forums for lock violations, but all of the subjects returned only deal with key violations (this includes Access help)
Any Ideas
Thanks
Peter