what are the values for l_startindex en l_endindex?
and why are you restricting your loop? the restriction should be done in the fetch...
what are the values for l_startindex en l_endindex?
and why are you restricting your loop? the restriction should be done in the fetch...