Student Progress Database Application

Anonymous
2016-11-08T11:25:10+00:00

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

Microsoft 365 and Office | Access | For home | Windows

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.

0 comments No comments

139 answers

Sort by: Newest
  1. ScottGem 68,840 Reputation points Volunteer Moderator
    2016-11-17T20:51:25+00:00

    Hmm, I need to see the SQL for the Append query. And I need you to check it. Enter the date then Open the query In Design Mode. Does it have any rows with Blank dates?

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2016-11-17T14:30:56+00:00

    Yes, I did the indexing the way you just described and no duplicates were added either, yet I get these blanks in the tblStudentProgress table. Do you know why ? I deleted everything in this table before indexing.

    Was this answer helpful?

    0 comments No comments
  3. ScottGem 68,840 Reputation points Volunteer Moderator
    2016-11-17T13:15:00+00:00

    Of course, each time you press that button another set of records will be added to the table. That's what an Append query does! Those first 4 records were probably already in the table. 

    So you need to delete all the records for that Center and month. and then run the query ONCE. But the good news is the query is clearly working the way it should. 

    Now we do need to add some stuff to prevent duplications if someone accidentally presses the button. So what we do is open tblStudentProgress in Design mode. Click on the Indexes icon on the ribbon. We are then going to add a multi-field unique index. So in the Index Name column (1st column) enter Unique as the name In the Field column on the same row, Select StudentID. then go to the next row, leave the index name blank and select CenterCode in the field Column. Repeat for CourseID and GradeMonth so it should look like this:

    Unique   StudentID

                   CenterCode

                   CourseID

                   GradeMonth

    Now go back to the row where the index name is entered and set the index to No Duplicates. This will prevent adding another record for the same combination of StudentID, CenterCode, CourseID and GradeMonth. Save the table.

    Then you can go back to your form and hit the button again. You should get a message that x number of records could not be added due to key violations. You will also see that tne number of records in the second subform did not increase.

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2016-11-17T10:19:02+00:00

    Scott, I was able to run the query but I think it needs a little bit tweaking. When I run the query on its on, it gives me 4 records for each student. But when I use it on the form by clicking the Add Progress Records button, then open the tblStudentProgress and look at the results, it has multiple records for the same StudentID and not 4. Every time the button is pressed it adds another set of records for the CenterCode. And this is not the only problem, the first 4 rows are always empty, then the from the 5th row, the months appear in the tblStudentProgress.

    Was this answer helpful?

    0 comments No comments
  5. ScottGem 68,840 Reputation points Volunteer Moderator
    2016-11-17T02:53:11+00:00

    That's correct, an Action query cannot be used as a RowSource. Who said anything about doing that. So you did something that was not in my instructions.

    The Append query is saved as a named query. I would name it qryAppProgress. Are you sure you added a command button and not a combobox? They are not the same. The command button control is a small rectangle with xxx on it. If the Command button wizard starts when you place the Command button, then cancel it. That will leave the Command button for you to enter the properties. 

    As I said the Caption property should read Add Progress Records. Then go to the Events tabl and click the ellipses next to the On Click event. You will be prompted to select Code Builder. This will open the Visual Basic Environment (VBE) where you can enter code. 

    The code to enter is what I gave you. Again, RowSource doesn't come into it at all.

    Was this answer helpful?

    0 comments No comments