Ver Mensaje Individual
  #3  
Antiguo 01-08-2008
Avatar de Kipow
Kipow Kipow is offline
Miembro
 
Registrado: abr 2006
Ubicación: Guatemala
Posts: 329
Reputación: 19
Kipow Va por buen camino
Una solucion facil seria deshabilitar el boton mientras se prepara el reporte. algo asi:

Código Delphi [-]
          
try                
    botonpreliminar.Enabled := false;                 
    Application.CreateForm(Trep_RepVentas, rep_RepVentas);                
    rep_RepVentas.Preview            
finally                
   botonpreliminar.Enabled := true;                 
   rep_RepVentas.Free;            
end;
Responder Con Cita