Determine if row is first or last row & print accordingly.