I have a query table "Casual Leave Query"
Employee ID From Date To Date No of Days Leaves Left 1 6/4/2013 6/4/2013 1 20-1=19 1 6/5/2013 6/5/2013 1 19-1=18 1 6/7/2013 6/8/2013 2 18-2=16 2 6/13/2013 6/14/2013 2 20-2=18
I have calculated No of Days with this formula No of Days: (DateDiff("d",[From Date],[To Date])+1)
I am unbale to calculate "Leaves Left" HOw can I calculate Left Leaves ?
Help me!