> Always close your cursors.>Thanks.In my real example I had multiple return points and did not close the cursorbefore each one.