again much thanks for the help! It places the row in the database but always adds a copy of the row I drag at the end, then when it refreshes it has the original order with the duplicate at the bottom.
What does the script that you are now using look like?
The script that I provided only works on the DB, so are you saying that you are getting duplicate rows inserted into the DB?