Hola
Necesito definir unas variables globales al QReport, en Reportman hacía lo siguiente:
Código Delphi
[-]
with VCLReport1 do begin
FileName := strFileReport;
Preview := False; ShowProgress := True; ShowPrintDialog := False; Title := 'INFORME DE DATOS CALCULADOS';
with Report.Params do begin
ParamByName('OFICINA').Value := 'En mi casa';
ParamByName('PROVINCIA').Value := 'ALBACETE';
ParamByName('EN_METROS').Value := EN_NUDOS;
ParamByName('EN_KILOMETROS').Value := EN_KILOMETROS;
end;
Execute;
end;
No he encontrado información para hacer lo mismo con QReport.
Agradecido
Salvica.