Quantcast
Channel: dBforums – Everything on Databases, Design, Developers and Administrators
Viewing all articles
Browse latest Browse all 13329

how to compile this table?

$
0
0
Table ‘studentlectures’ is comprised:
Code:

ID  studentname    lectureplace      lecturesubject
1        jack          A            politics   
2        steve          A            politics   
3        jack          B            math   
4        steve          A            politics   
5        jack          B            politics   
6        joe            A            politics   
.
.
154      Jane          B              politics

I have created a form named “students” and a blank on this form named “studentname”, from where I can select a student name and put [forms]![Students]![studentname ] in the criteria of a query named "query1", to show the records for a specific student. So far, so good.
Because of a reason, I need a table to be compiled with the result of the above query. I don’t need a query but a table. The table should be compiled to show the records of a specific student whose name is selected from the above mentioned form. Is this possible by VBA or a Query. I am so novice and understand only basics of access. I would appreciate if you could provide the VBA or SQL code to make this table created.
Thank you

Viewing all articles
Browse latest Browse all 13329

Trending Articles