i wanted to move records only one line up & down onclick of up or down link the code is as follows there or 19 recordsthe problem is if i press up link for sixth record it is moving some three records up instead of one record up this happening same down link also: