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. 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
  2. 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
  3. 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
  4. 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
  5. Anonymous
    2016-11-16T15:08:29+00:00

    Okay, now I added an Unbound Textbox on the Main form and gave it a label of Month name. Then I went ahead and changed the query to reflect the CenterCode from the combo box like you said. Since I only see one query in my database, so I changed the query to the Center Code, if this is the query you are talking about.

    "One last thing is to add a column to query:

    Mth: Forms!mainformname!controlname

    where controlname is the name of the unbound control you just added for the month.

    Now when you run the query, it should show records for the Center currently being displayed on the main form with a field for the month."

    I didn't understand this part above quite well. Are you talking about the same query that I added to reflect the Center Code wiz. Forms!MainFormname!Controlname which is the combo box? And where do you want me to add the column for the month ? Please clarify these in greater detail.

    Thanks.

    Was this answer helpful?

    0 comments No comments