Back again, got the 2 .lpk files installed, have the Pdfexport icon in the lazprint component and program compiles and runs OK, however when I try to generate the Pdf file I get an error. Code is;
procedure TForm1.Button3Click(Sender: TObject);
var
frPdfExportFilter: TfrExportFilterClass;
begin
frReport1.LoadFromFile ((DPath) + ('\MemBook.lrf'));
if(frReport1.PrepareReport)then
frReport1.ExportTo(FrPDFExportFilter, 'C:\test.pdf');
end;
When it runs I get the error;
------------------------------------------------------------------
Project CarmelDBF raised exception class 'EFCreateError' with message:
Unable to create file "C:\test.pdf"
In file 'lazutf8classes.pas' at line 143:
raise EFCreateError.createfmt({SFCreateError} 'Unable to create file"%S"',[EFilename]}
-------------------------------------------------------------------
Don't have a clue what this is about.
You have been a great help, don't want to wear out my welcome!
Banffguy