Click here to Skip to main content
15,889,740 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Tb_Sch_Time_Table records as follows in MS access database.


Faculty_Code Sch_Date Session


CAN 4/15/2013 3
VB 4/15/2013 4
AKR 4/16/2013 3
CAN 4/16/2013 4
VB 4/17/2013 3
UNNI 4/17/2013 4
CAN 4/18/2013 3
UNNI 4/18/2013 4
VRV 4/19/2013 3
SAN 4/19/2013 4


from using the above table records i want the output as follows in ms access database


Sch_Date session3 Session4

4/15/2013 CAN VB
4/16/2013 AKR CAN
4/17/2013 VB UNNI
4/18/2013 CAN UNNI
4/19/2013 VRV SAN

for getting above output how can i do in MS Access Database.

Regards,
Narasiman P.
Posted

1 solution

Create a crosstab query on the table, using the Crosstab Query Wizard. Put the date as the row heading and Session as Column heading.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900