object report attendance DAT for 2 period classes
By Beverly Lauby
October 5, 2015

I am attempting to write code on an object report to pull attendance.  We have some classes that run for 2 periods but attendance is taken for each period.  

For example - when I use -
^(*period_info;3(A);current_grade;Q1)^(*period_info;3-4(A);current_grade;Q1)<tabto 3.25>^(*period_info;3(A);current_percent;Q1)^(*period_info;3-4(A);current_percent;Q1)<tabto 7>^(per.att;3(a);abs;q1)<tabto 7.75>^(per.att;3(a);tar;q1)  I get the grade and percent correctly but it will not pull the attendance for period 3.

When I use -
^(*period_info;3(A);current_grade;Q1)^(*period_info;3-4(A);current_grade;Q1)<tabto 3.25>^(*period_info;3(A);current_percent;Q1)^(*period_info;3-4(A);current_percent;Q1)<tabto 7>^(per.att;3(a);abs;q1)^(per.att;3-4(a);abs;q1)<tabto 7.75>^(per.att;3(a);tar;q1)^(per.att;3-4(a);tar;q1) it pulls the attendace for the 3-4 period but also a zero for the period 3 attendance.  

I have messed with deocde and if.then statements but I can figure it out.

Any help is appreciated.
Bev