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: Most helpful
  1. 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
  2. Anonymous
    2016-11-17T02:05:52+00:00

    Hi,

    I did everything exactly as instructed by you but there is an error message which says, "An action query cannot be used as a row source."

    I think this will not allow us to use the Append query for the command button. Any ideas?

    Was this answer helpful?

    0 comments No comments
  3. ScottGem 68,840 Reputation points Volunteer Moderator
    2016-11-16T17:23:30+00:00

    Don't get ahead of yourself. This query is not for entering the data, its for setting up the rows where the data will be entered.

    So when you run the query, it has 4 records per student, one for each course. It displays only those students in the Center currently displayed on the form and it shows the Month you entered on the main form for all records, correct? If so, then we proceed to the final step. 

    Open that query in Design view. On the Design ribbon will be an option to make it an Append Query. Select that Option and it will prompt you to select a table to Append to. You will be Appending to tblStudentProgress. A row will be added to the grid that says Append To. Some of the columns may be filled in with the corresponding fields in tblStudentProgress. You need to make sure that the StudentID, CenterCode, CourseID and Month columns have their corresponding fields set. I'm not sure if you need anything else but those four. If you are unsure, list the fields in tblStudentprogress again for me and I'll advise.

    The last thing you need to do is add a command button to the main form. The Caption for that button, will be Add Progress Records. Use the Code Builder to add the following code to the On Click event of the button:

    DoCmd.OpenQuery "queryname"

    Me.subformname.Requery

    queryname is the name of the Append query we have saved and subformname is the name of the second subform where you will be entering the scores.

    After clicking the button, the second subform should be populated with a record for each student, for each course, for the Month entered. You can then go down the subform, entering the scores.

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2016-11-16T16:52:12+00:00

    Okay, now I added a exp:Mth:Forms!mainformname!controlname in the top row and then ran it. As soon as I ran it, it displayed the name of the month in all the rows reflecting what I put in the text box on the main form. But when I tried to add marks to StudentID's and then save the changes, the tblStudentProgress is not reflecting the name of the month in the Month field. What's wrong?

    Was this answer helpful?

    0 comments No comments
  5. ScottGem 68,840 Reputation points Volunteer Moderator
    2016-11-16T16:09:24+00:00

    The query I'm referring to is the SELECT query that returns one record for each student for each course within a selected Center. Since you have tested that query and it worked we are now modifying the query to make it more dynamic so it will reflect the data you want to append to the table.

    First, I would not use the Search combo as the criteria. The search combo may not reflect the currently loaded Center. You should use the CenterCode control in the Detail band area.

    Second, to add a column go to the first blank column and enter the alias and the expression in the top row. The alias is Mth: the expression is the reference to the unbound control you added.

    Was this answer helpful?

    0 comments No comments