Ver Mensaje Individual
  #2  
Antiguo 08-06-2003
Avatar de marcoszorrilla
marcoszorrilla marcoszorrilla is offline
Capo
 
Registrado: may 2003
Ubicación: Cantabria - España
Posts: 11.221
Reputación: 10
marcoszorrilla Va por buen camino
Una solución puede ser esta:

Q. I am getting errors trying to preview reports with QuickReport 2 under Windows 2000

Pregunta.- Estoy teniendo problemas con la vista previa de infomres bajo Windows 2.000.


A. We do not support QuickReport 2 under Windows 2000, we only support QuickReport 3 under Windows 2000. You can get it to work, but you will need to change the TempFileName function in qrprintr.pas and recompile the package.

Respuesta. No se soporta QuickReport 2 bajo Windows 2.000, solamente soportamos QuickReport 3 bajo Windows 2.000. Puede hacerlo funcionar, pero tiene que cambiar la función TempFileName que se encuentra en qrprintr.pas y recompilar el paquete.



Replace the existing function with the following:
code:

Reemplace la función existente con el siguiente código:



Código:
function TempFilename : string;
var
AName,
ADir : array[0..255] of char;
begin
GetTempPath(255, adir);
GetTempFilename(aDir, PChar('QRP'), 0, aName);
result := StrPas(aName);
end;
Esto lo digo Yo:
Best Regards
Saludos.

Última edición por marcoszorrilla fecha: 08-06-2003 a las 11:16:42.
Responder Con Cita