dbgrid1.options:=dbgrid1.options+dgMultiSelect;//allow MultiSelect .. If DbGrid1.selectrows>0 the begin with DBGrid1.datasource.dataset do begin for i:=0to DBGrid1.selectrows.count-1do begin gotobookmark(Pointer(DBGrid1.selectrows.items[i]));//use gotobookmark //do. end; end; end;