Código Delphi [-] select max(camponumerodefactura) + 1 from tabladefacturas
select max(camponumerodefactura) + 1 from tabladefacturas