L
LAS
I have a form with the following record source. I can update columns from tblScores just fine.
SELECT tblScores.*, tblStudents.Personal_Goals
FROM tblScores INNER JOIN tblStudents ON tblScores.Student_ID = tblStudents.Student_ID
WHERE (((tblScores.Student_ID)=[Forms]![frmStudentScoreEntry]![txtStudent_ID]) AND ((tblScores.Score_Date)=[Forms]![frmStudentScoreEntry]![txtScore_Date]));
But when I add the table in red, below, I can no longer update. No change is made, I get a beep, and "This recordset is not updateable" appears at the bottom of the form. I want to add the table just so I can order the rows in the form. But I don't need the Order By clause to cause the problem.
SELECT tblScores.*, tblStudents.Personal_Goals
FROM tblPeriods, tblScores INNER JOIN tblStudents ON tblScores.Student_ID = tblStudents.Student_ID
WHERE (((tblPeriods.Period_Code)=tblScores.Period_Code AND ((([tblScores].[Student_ID])=[Forms]![frmStudentScoreEntry]![txtStudent_ID]) And (([tblScores].[Score_Date])=[Forms]![frmStudentScoreEntry]![txtScore_Date]))));
What is the rule that makes this not updateable? Is there any way I can order by form rows by a value in the tblPeriods table?
SELECT tblScores.*, tblStudents.Personal_Goals
FROM tblScores INNER JOIN tblStudents ON tblScores.Student_ID = tblStudents.Student_ID
WHERE (((tblScores.Student_ID)=[Forms]![frmStudentScoreEntry]![txtStudent_ID]) AND ((tblScores.Score_Date)=[Forms]![frmStudentScoreEntry]![txtScore_Date]));
But when I add the table in red, below, I can no longer update. No change is made, I get a beep, and "This recordset is not updateable" appears at the bottom of the form. I want to add the table just so I can order the rows in the form. But I don't need the Order By clause to cause the problem.
SELECT tblScores.*, tblStudents.Personal_Goals
FROM tblPeriods, tblScores INNER JOIN tblStudents ON tblScores.Student_ID = tblStudents.Student_ID
WHERE (((tblPeriods.Period_Code)=tblScores.Period_Code AND ((([tblScores].[Student_ID])=[Forms]![frmStudentScoreEntry]![txtStudent_ID]) And (([tblScores].[Score_Date])=[Forms]![frmStudentScoreEntry]![txtScore_Date]))));
What is the rule that makes this not updateable? Is there any way I can order by form rows by a value in the tblPeriods table?