Hi, I have an issue where I'm trying to evaluate the above table to find instances where StudentID AND Absence are the same as the previously loaded line. When this occurs I need to generate a line of data for the same StudentID but with the following:
an Absence of 'Attending'
a FromDatetime of 1 second after the ToDatetime on the previously loaded line
a ToDatetime of 1 second after the ToDatetime on the previously loaded line (i.e. the same as FromDatetime above)
I'm assuming peek() should be used to evaluate StudentID and Absence which I'm fine with. However, I'm struggling to generate the additional line whenever the criteria is met. Any help would be greatly appreciated...