A family of Microsoft relational database management systems designed for ease of use.
Scott,
I will work on the percentage tomorrow and the coming days and if I get stuck somewhere I'll need your help. So thanks once again for all the help.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hello everyone!
I want to make an application for keeping track of students’ progress marks each month of the year using Access 2010. Suppose I have 10 literacy centers in 10 different locations each with 35-40 students enrolled. I want to generate a monthly Access report showing the progress of each student in each of the subjects taught.
I have designed forms for entering details of each center, instructor and student saved in separate tables. All I need to do is find a way to generate month-wise students’ progress reports for each of the 10 literacy centers to be handed over to the center manager.
What would be the best way this could be done using Access 2010?
Thank you.
~~Maneesh
A family of Microsoft relational database management systems designed for ease of use.
Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.
Scott,
I will work on the percentage tomorrow and the coming days and if I get stuck somewhere I'll need your help. So thanks once again for all the help.
That's just it, I don't know why the original code didn't work. It worked for me the first time I tried it. And I can see no reason why it shouldn't work.
But there is more than one way to skin a cat. So the code I gave you just approaches the same result but by a different path.
Now its working for me. As soon as I got rid of the old code, and put this one instead, it worked. All I have to do now is add the percentage. I'll work on the percentage part, meanwhile please let me know what was wrong with the previous code and why was it behaving the way it was?
OK, I was able to reporduce the error so I changed the code behind the Generate Report button to:
Private Sub Command41_Click()
'DoCmd.OpenReport "frmSimpleUsingCrosstabasSource", acViewPreview, , "CenterCode= " & Combo15
Dim strSQL As String
strSQL = "DELETE * FROM tmpProgress;"
CurrentDb.Execute strSQL, dbFailOnError
' strSQL = "INSERT INTO tmpProgress (CenterCode, StudentID, GradeScore, CourseName) " & _
' "SELECT CenterCode, StudentID, GradeScore, CourseName " & _
' "FROM qryStudentProgress_FIRST_SIMPLE_QUERY; "
strSQL = "INSERT INTO tmpProgress (CenterCode, StudentID, GradeScore, CourseName) " & _
"SELECT tblStudentProgress.CenterCode, tblStudentProgress.StudentID, tblStudentProgress.GradeScore, tblCourse.CourseName " & _
"FROM tblCourse INNER JOIN tblStudentProgress ON tblCourse.CourseID = tblStudentProgress.CourseID " & _
"WHERE tblStudentProgress.CenterCode = " & Me.CenterCode & " And tblStudentProgress.GradeMonth = '" & _
Me.Text37 & "' " & _
"ORDER BY tblStudentProgress.StudentID;"
' Debug.Print strSQL
CurrentDb.Execute strSQL, dbFailOnError
DoCmd.OpenReport "frmSimpleUsingCrosstabasSource", acViewPreview, , "CenterCode= " & Me.Combo15
End Sub
Copy and paste that into the code module.
This worked for me.