I suggest you use a calculated field which holds the ordernumber of the specific record. The table is sorted on this record. When you push up, he changes the current record and the above record; when you push down, he changes the currect and the beneith record.