I suppose the two grid's recorsource have the same structure. If so you could place a commandbutton on the first grid and manage its click event like this
lcFirstGridAlias = thisform.grid1.recordsource
select (lcFirstGridAlias)
scatter memvar
*now swap the values formn i04 and i05
m.io5 = m.io4
m.io4 = &lcFirstGridAlias.io5
insert into (thisform.grid2.recordsource) from memvar
thisform.grid2.refresh()
>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