i have a table 1 attached and want data in access form like table 2 attached
Where RollNo is unique
and i want 1 student per form
i attached da access file
regards
i have a table 1 attached and want data in access form like table 2 attached
Where RollNo is unique
and i want 1 student per form
i attached da access file
regards
Last edited by sps; 07-11-2023 at 02:25 AM.
you can design a form for students with a subform based on a crosstab query. Be aware that you can view data this way, but won't be able to alter them.
Can you tell more about it, access file attached, I will be grateful for your help.
Please use # icon on toolbar when posting code snippets.
Cross Posting: https://www.excelguru.ca/content.php?184
Debugging Access: https://www.youtube.com/results?sear...bug+access+vba
Hi
Your query would be along these lines:-
TRANSFORM Sum(exam.[Marks]) AS SumOfMarks
SELECT exam.[Subject], Sum(exam.[Marks]) AS [Total Of Marks]
FROM exam
GROUP BY exam.[Subject]
PIVOT exam.[ExamType];
You can PM me if you need further help.
Good Reading https://docs.microsoft.com/en-gb/off...on-description
thanks I did the query but how I get the data in access form along with RollNo
I NEED ALL SUBJECTS FOR SAME ROLLNO ON SAME FORM LIKE ATTACHED TABLE2
Hi
The Form that opens is based on the original Crosstab query. I added the field "RollNo" to the query.
The Format of the Form is now a Split Form
In the header of the Form is an Unbound Control which allows you to enter the RollNo required.
Once you have entered the Roll No - Tab out of the Control and the Records will be filtered to the required RollNo.
Press the Clear Button to display all records.
You can PM me if you need further help.
Good Reading https://docs.microsoft.com/en-gb/off...on-description
Hi
Without seeing your database it would be impossible for us to make a guess as to your table structures.
You can PM me if you need further help.
Good Reading https://docs.microsoft.com/en-gb/off...on-description
No database attached
You can PM me if you need further help.
Good Reading https://docs.microsoft.com/en-gb/off...on-description
Please use # icon on toolbar when posting code snippets.
Cross Posting: https://www.excelguru.ca/content.php?184
Debugging Access: https://www.youtube.com/results?sear...bug+access+vba
Hi WGM
Yes i got his original database but his last request was to produce details of Students Exam Results.
His original database does not include this data so was asking for the additional tables to be included.
You can PM me if you need further help.
Good Reading https://docs.microsoft.com/en-gb/off...on-description
Please use # icon on toolbar when posting code snippets.
Cross Posting: https://www.excelguru.ca/content.php?184
Debugging Access: https://www.youtube.com/results?sear...bug+access+vba
any chance??