Ver Mensaje Individual
  #3  
Antiguo 12-10-2013
camiz camiz is offline
Miembro
 
Registrado: ene 2012
Posts: 69
Reputación: 13
camiz Va por buen camino
Resuelto

para alguno que lo necesite lo resovi
de esta manera y funciona muy bien.


Código Delphi [-]
var  CodFactura :string;
begin
  with frmConeccion.MostrarNumFactura do
  begin
  Active := True;
  CodFactura := FloatToStr(FieldByName('CODFACTURA').AsInteger +1);
  Active := False;
  begin
    txtnumeroFactura.Text := FormatFloat('000000', StrToInt(CodFactura));
  end;
end;
Responder Con Cita