adyble
Comments
- 
                This all works great thanks. Just one question, is it possible to add extra PDF files from file to the end of this PDF ? I'm assuming not, but though I'd double check.
- 
                Thats great, setting these afetr the template loads, sorts it.
 ppReport1.PDFSettings.ScaleImages := False ;
 ppReport1.PDFSettings.ImageCompressionLevel := 1 ;
 
- 
                ok. Understood. Thanks
- 
                Can I send an image here to explain ?
- 
                Hi
 Does this request make sense?
 Andy
- 
                Hi Nico
 Yes, it was a data error as only didn;t work when there was 1 record.
 Thanks
- 
                Hi Nico
 Its so close to working. An example with child items would be really helpful as I keep getting this when trying to either open the file or attach to an email -
 Is there a command to issue after printtodevices that unlocks the…
- 
                Thank you. Yes it was all down to the order.
- 
                More information. Using .ppReport1.Print create the PDF correctly but only creates the last report.
- 
                I've seen other posts relating to PDF corruption that suggest this - but it makes no difference.
 DecimalSeparator := '.';
 ThousandSeparator := ',';
 ppFormatSettings.DecimalSeparator := DecimalSeparator;
 ppFormatSett…
- 
                I found a different link. It nearly works but the resulting PDF is only 1k and won't open, so I assume i've done something wrong. My code is below, I'm adding invoice items into 1 pdf.
 ppReport1.Template.DatabaseSettings.Name := cbT…
- 
                Maybe I need to update the version. It worked fine until I installed the version I have now.
 Andy
- 
                Hi Nard
 It works ok with the Object inspector but no where near as convenient. Is there something missing on my install or a setting/uses for the ppDesigner ?
- 
                Edit. They only get lost when restarting the application. They remain the rest of the time.
- 
                Hello,
 I found that it is a system variable. It works fine now.
- 
                Even a page for it - Nice !
- 
                Hi Nico, I;m not sure how to populate DocumentName. I was expecting it to be the template name.
- 
                Hi Nico
 Thanks for you reply. It's not the report output that I need in HTML, we are familiar with that but the actual report design. I have kinda done it by interpreting the elements of the template as text and will continue to develop that if…
- 
                Hi Nico. Order #25495 (December 5, 2023)
- 
                Hi Nard
 I was only using details and header. It was simply the Open checkbox that was causing it.
- 
                If I don't check - Open File it works ok. Thats fine, I can open the file in code after.
- 
                Sometimes I get listindex out of bounds (1) but only on a different PC
- 
                Hi Nard
 Which dataset component do you want me to use ? Is FireDAC ok ?
 Andy
- 
                An update. I have a quote that goes over 3 pages. The last item on each page is repeated as the first item on the new page. I recreated the report on the old version in Delphi 7 and it doesn't repeat.
- 
                Hi Nard
 Its 2 straight select queries for the data,1 record for header and about 20 for the items. To test I've put a grid before the print to see the data and there are no dupes. The duplication changes with where the page break is, i.e. if I…
- 
                Hi Nico
 Can the data be in a different place to the reports? Our data will be on remote MySql servers.
- 
                Hi Nico
 I have a look at the server edition but I think it needs to be on a windows server ?
- 
                It's actually the Advanced options of the export form. If check "Include singe header" it works ok. Just need to work out how to set that by default.
- 
                Hi Nard
 in defaultbands we have btHeader, btTitle, btColumnHeader and btDetail set to True already.
- 
                Hi Nico
 I thought that too but when running ppReport1.Template.New ; it opens the designer. I just want it to create a template.