Ver Mensaje Individual
  #4  
Antiguo 29-07-2008
Avatar de Carmelo Cash
Carmelo Cash Carmelo Cash is offline
Miembro
 
Registrado: jul 2003
Ubicación: Buenos Aires
Posts: 261
Reputación: 21
Carmelo Cash Va por buen camino
Gracias

Gracias Neftali, quedó así, y aprendí a usar los Tags.

Hay algo como los Tags para el código en el programa?
(please no me verdugueen)

Código Delphi [-]
procedure  TEdiniFrm.CargarSecciones;
var
i:Integer;
begin
  RxMDSecciones.Active:=True;
  RxMDSecciones.EmptyTable;
  with RxMDCompleto do begin
    first;
    while not eof do begin
      if RxMDCompleto.FieldByName('Tipo').AsInteger=1 then begin
        RxMDSecciones.Append;
        for i := 0 to RxMDCompleto.FieldCount - 1 do begin
          RxMDSecciones.Fields[i].Value:= RxMDCompleto.Fields[i].Value;
        end;
        RxMDSecciones.Post;
      end;
      next;
    end;    // while
  end;    // with
 RxMDSecciones.SortOnFields('Orden_Seccion');
end;
Responder Con Cita