i have two tables Students & attendance, they have a common field SID where they link
Students
SID | Name | Grade | Age |
01 | A1 | B1 | 8 |
02 | A2 | B2 | 9 |
03 | A3 | B1 | 8 |
04 | A4 | B4 | 10 |
05 | A5 | B1 | 8 |
06 | A6 | B1 | 8 |
Attendance
AID | SID | Present | Date |
001 | 01 | YES | 12-12-16 |
002 | 01 | YES | 13-12-16 |
003 | 02 | YES | 12-12-16 |
004 | 02 | YES | 13-12-16 |
i want to create a report in crystal reports, which will give students which are absent, using the attendance table
I.E where attendance.SiD <> Student.SID
First create view using below query in database:
OR IF YOU CAN NOT CREATE VIEW FOLLOW BELOW STEPS:
Just manually assigned join table query.