If your data are indexed on this field, and the grid is set to this index, then inserting anywhere in the gfrid should cause them to be displayed in order (perhaps after grid.refresh). You cannot choose where in a table to insert - it only ever goes at the end of file, but having the index will cause it to appewar as if it's inserted at the correct point.
>hi all,
>
>i have 2 grids at myform,
>
>i can choise items form grid2 to insert it into grid1 as under
>
>grid2
>------
>io1
>io2
>io3
>io4
>io5
>io6
>
>ex..
>i insert into grid1 from grid2
>grid1
>----
>io1
>io3
>io5 && i need to replce io5 with io4 from grid2 ,same position
>io6
>io2
>
>
>
>thanks
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.