MS Access Form Recordset不可更新

时间:2014-01-23 16:30:46

标签: sql forms ms-access ms-access-2010

我已经在Access数据库工作了几年。几乎突然之间,其中一种形式变得无法编辑,我收到消息“此记录集不可更新”。我在任何表上都看不到任何丢失的主键。这是一个非常简单的表单,数据来自少量表和一些子表单,我无法弄清楚问题。

有人可以帮忙吗?

这是SQL:

SELECT tblGraduateCourseInformation.COMMENTS,
tblGraduateCourseInformation.ScholarshipComments,
tblGraduateCourseInformation.CollegeAdvisor, 
tblGraduateCourseInformation.Supervisor, tblCurrentStudents.[Preferred Forename], 
tblCurrentStudents.[Programme Title], tblCurrentStudents.[Programme Type], 
tblCurrentStudents.Time, [tblMinisterial&CollegeYear].Ministerial, 
tblCurrentStudents.[Programme Year], [tblMinisterial&CollegeYear].*, 
tblCurrentStudents.[Projected Completion], tblCurrentStudents.Surname, 
tblCurrentStudentContactDetails.[Addr1 (Correspondence)],
tblCurrentStudentContactDetails.[Addr2 (Correspondence)],
tblCurrentStudentContactDetails.[Addr3 (Correspondence)], 
tblCurrentStudentContactDetails.[Addr4 (Correspondence)], 
tblCurrentStudentContactDetails.[City/Town (Correspondence)], 
tblCurrentStudentContactDetails.[State/Province (Corrs)], 
tblCurrentStudentContactDetails.[Postal Code/Zip (Corrs)], 
tblCurrentStudentContactDetails.[Contact Phone Number], 
tblCurrentStudentContactDetails.[Mobile Phone Number], 
tblCurrentStudents.Nationality, 
[tblMinisterial&CollegeYear].Ministerial AS [Ministerial_tblMinisterial&CollegeYear], 
tblEmailAddresses.[Primary Email], tblEmailAddresses.[Alternative Email],  
tblGraduateCourseInformation.ThesisTitle, tblGraduateCourseInformation.PersonalTutor
FROM ([tblMinisterial&CollegeYear] INNER JOIN (tblCurrentStudentContactDetails 
INNER JOIN (tblCurrentStudents INNER JOIN tblGraduateCourseInformation ON 
tblCurrentStudents.[Oss Person Number] = tblGraduateCourseInformation.OSSID) ON 
tblCurrentStudentContactDetails.[Oss Person Number] = 
tblGraduateCourseInformation.OSSID) ON 
[tblMinisterial&CollegeYear].[Oss Person Number] = tblCurrentStudents.[Oss Person Number]) 
INNER JOIN tblEmailAddresses ON 
(tblCurrentStudents.[Oss Person Number] = tblEmailAddresses.[Oss Person Number])
AND (tblCurrentStudents.[Oss Person Number] = tblEmailAddresses.[Oss Person Number]);

0 个答案:

没有答案