update table set seq=newposition+1 where seq=oldpostion
update table set seq=seq+1 where seq>newposition
I THINK this will work … but only if moving an item UP in the sequence
but I’m thinking you idea is “safer”… since not only can the user drag the order, but they can drop new records as well, and those new records have to derive they sequence position from the current “listindex” (ie. insert after)
How to distingush between… “DRAG” and “Multiple Select”
I need to select one or more records in Listbox 1 to drag to Listbox 2
But if I click a row, and move the mouse… it starts selecting rows, NOT dragging the single row…
and if I select multiple rows, and try to drag. it unselects all but the last row