My apologies. I should have added more notes. :(
Yes, my end goal is to retrieve the records newly entered to the AssignedBatches table.
Yes, this is correct.
Yes, this is correct.
bad idea i'm assuming. i originally had it in the assignbatch subroutine, but moved it to the function when...