Hi Martin. Thanks for your input. The code is not my code and is not in the routine. It is generated by the system which I can't change it unless I want to modify it. The point is that how the system generated such kind of code. If I could make change of it I would have commented all lines.
WD