Hi all ,
I am using Access 2007
I have a table called "InsepctorLeaveDetails"
InspectorId |Startdate | Enddate
E1200 4/10/2013 4/25/2013
E1203 3/10/2013 3/25/2013
E1201 3/25/2013 4/10/2013
Desired o/p
InspectorId | InspectorName |Monthyear |vacation
E1200 Suraj April 2013 15
E1201 Damodhar April 2013 9
E1201 Damodhar March 2013 6
E1203 Shyam March 2013 15
If the months in STARTDATE & ENDDATE are different , the no.of days must be split according to respective months .
Please help me achieve this .
Thanks in advance .
Sahana