Ver Mensaje Individual
  #3  
Antiguo 13-08-2004
Avatar de Lepe
[Lepe] Lepe is offline
Miembro Premium
 
Registrado: may 2003
Posts: 7.424
Reputación: 28
Lepe Va por buen camino
Código Delphi [-]
  if rxDBGrid1.SelectedRows.Count>0 then
  with rxDBGrid1.DataSource.DataSet do
  begin
      for i:=0 to rxDBGrid1.SelectedRows.Count-1 do
      begin
        rxdbgrid1.GotoSelection(i);
        // ya estoy en la seleccion
      end;
  end;

Esto es para un RxdbGrid de las RxLibs, pero si no me equivoco es igual para un TDBGrid.

Saludos
Responder Con Cita