by AL Rachels.
Hi Richard,
$insql is part of the code that links data from the assign activity with the grade me block. It can be found in the block_grade_me.php file at line 172. For what you seem to be planning to do, I am fairly certain you can leave it out/ignore it. I did when I used the basically the same query for use with the ad hoc report.
AL