Petter S.
Petter S.
About
- Username
 - Petter S.
 - Joined
 - Visits
 - 0
 - Last Active
 - Roles
 - Members
 
Comments
- 
                Hi. Search the forum, and you will see that you are not alone... Like this one: http://www.fast-report.com/en/forum/?p=/discussion/7351 Petter
 - 
                Marius wrote: » I have tried this code on the OBP event in the Fast Report Script, but this does not print anything under any condition.   if length(lblCustomerName.value)<1 then              begin       Child2.Visible…
 - 
                My version of FR is 4.11.4.
 - 
                peleus wrote: » Hi Petter, can you please explain what this means? or at least how to do this? Check out http://www.gnostice.com/edocengine_vcl.asp . There is a trial to download. It solved our problem while waiting for FR5. How to impl…
 - 
                gpi wrote: » FR PDF export filter doesn't support PDF/A format. Wait for FR5 or use PDF printer Or check out the EdocEngine from Gnostice. Petter
 - 
                Forgot the attachments... Here they are.
 - 
                gavind wrote: » Tried it but still no luck. Any ideas out there please? Take a look at the attached report. The second memo is a moved by code. I also think there are some conversion-issues in your code. The paperwidth and rigthmargin mu…
 - 
                gavind wrote: » Thanks for the suggestions. Which of the three you think is the best option for a beginner. I mean that would be the easiest route. My personal favorite is the main code area, if I have my conditions readable at this point (…
 - 
                kamiller42 wrote: » kamiller42 wrote: » Make 2 reports, only print report 1 but if report 2 is also required you merge them into one. That would be possible, but the application design constraints are this: 1. The application executes a …
 - 
                johnnix wrote: » Hello, I wish to manually align a TfrxMemoView inside a page by code (I don't want to use the Align property). On the OnBeforePrint event of the MemoView I have the code: MemoView1.Left := Page1.PaperWidth - Page1.RightMargi…
 - 
                IngoW wrote: » FooterPage isn't accepting Height changes. The previously attached report HiddenFooter1.fr3 accepts height changing from script on my system. Might there be that there are differences between FR-versions? My version is 4.11.4…
 - 
                Ok. You need the first pass to be equal to second pass, so that the page count will be correct. Here is another approach: Store the height of your footer in a variable initially, and then set the properties of the footer in a oap-event of the det…
 - 
                Attached you will find a small report where the footer is printed only in page 1. Petter
 - 
                Sorry, I forgot to test the solution with doublepass. Try this: In PageFooter OnAfterPrint: if Engine.Finalpass then PageFooter1.visible := false; In Detailband OnAfterPrint: if not PageFooter1.visible and Engine.Finalpass then PageFo…
 - 
                IngoW wrote: » *Edit: Engine.ShowBand doesn't work, I need something to don't show the PageFooter. Try this solution: In PageFooter OnAfterPrint: PageFooter1.visible := false; In Detailband OnAfterPrint: if not PageFooter1.visi…
 - 
                Andy2012 wrote: » Well we also tried using eDocEngine but we have a few customers reporting about wrong papersizes ... well the Report is scaled to much .. so it is to huge for the paper format .. wrong paper-sizes are listed in the pdfs ... (no e…
 - 
                Hi. I think you must re-run the report to make changes apply. You can store your choice of visibility in a variable, and then act according to this variable when report is run. procedure ShapeHideLogoClickOnPreviewDblClick(Sender: TfrxView; But…
 - 
                Hi. I would do it like this: The PageHeader does not have a background-property, so you should add a shape (rectangle) to the band, behind the text (right-click -> send to back), to get background color. Then, add code to the PageHeader1…
 - 
                Do the componets in the header and databand have exactly the same 'left' and 'width'? This seems to be important to get a 'clean' export to excel, but I have not tested it for CSV-export...
 - 
                Petter S. wrote: » Is there any examples anywhere showing how this can be done? Found it, in the developer's guide.
 - 
                gpi wrote: » Try to wtite user function to access TfrxOLEView.OleContainer from Delphi's code Thanks. I'm a little lost here. Is there any examples anywhere showing how this can be done?
 - 
                I use to insert all fields in one memo by code in OBP-event: procedure Memo1OnBeforePrint(Sender: TfrxComponent); begin Memo1.Text := ''; if <> '' then Memo1.Lines.Add(); if <> '' then Memo1.Lines.Add(); end; Petter
 - 
                pellelil wrote: » Thinking about the same solution, can I generate the print in FR and then simply export it to PDF using eDocEngine (have they made an exporter for FR) ? Pelle Yes, eDocEngine adds more export filters to FR. PDF is one o…
 - 
                I see that I made a little mix-up here. What I am trying to do is to export URL's to PDF, not to Excel as said in the heading... But the answer is maybe the same? Petter
 - 
                gpi wrote: » I think there are no such feature in XLS export filter OK. Thanks.
 - 
                gpi wrote: » Try to use (for Adobe Reader for example ) TfrxOLEView(frxReport1.FindObject('OLE1')).OleContainer.CreateObjectFromFile('C:\test.pdf', False); Hi. Can something like this be done from inside of FR? I have PDF-files on di…
 - 
                I would have tried something like this: [(round(SUM() / SUM(*) * 100) / 100) * SUM()]
 - 
                gpi wrote: » gpi wrote: » Is it possible to activate a dialog from a dialog-page from script? Use DialogPage1.ShowModal; Thanks. This did the trick for me. Combined with setting the .visible to false initially, so that the dialog d…
 - 
                gpi wrote: » Try to use in script: Â Â Â Â Report.LoadFromFile(filename); Â Â Â Â Report.ShowReport; But better to use Delphi's code. See InteractiveReport demo in FR's Demos folder Thanks! The Report.ShowReport worked fine for re-exec…
 - 
                Search for 'rave' in this forum. In the largest thread you also will find the coverter to download. Used it for 300 reports the last 6 months. Not perfect, but offers some help. Gordon Niessen wrote: » In the feature matrix there is a indica…