Default Avatar

hsm

hsm

About

Username
hsm
Joined
Visits
36
Last Active
Roles
Members

Comments

  • Solved using a variable in the code part of the report to keep a running total, but if there is a better way I'd prefer to do it that way Code I used was var    TotalPoints : integer;                              …
  • Ah, just noticed a new issue though. I had a memo in the group footer that prefomed a SUM() on one of the fields in the grouped master band. Now those groups with less than 8 rows - and hence those showing some child bands - no longer show the sum.…
  • Thanks gordk, that did it. For the benefit of others (or for me if I forget how to do this!) The final report is this... procedure GroupFooter1OnBeforePrint(Sender: TfrxComponent); // Referring to the system variable in the group footer retu…
  • gordk wrote: » fr does not sort data, it only groups according to what you have presented to it. So you must do your sorting and calculating within your queries OK, Thanks gordk, I'll have to calculate the average within the sql then.
  • mcinwg wrote: » mcinwg wrote: » it works fine for me in that version also correct syntax no [] if value = 1 then Memo.Font.Style := fsBold; Somewhat non-Delphi syntax, but it does work. However, how do you remove the fsBold (ie: Fo…
  • gpi wrote: » Check TfrxDesigner.Restrictions Where is that please? and what am I checking for? I have the repport design page on the screen. Is it there somewhere?
  • steve faleiro wrote: » .... but for the next detail headers, the underline is being rendered as a dashed line. I have the opposite problem. Memos that have a dashed border are exported to pdf with solid borders - and some get changed to bo…
  • gordk wrote: » try changing the oldstyle progress setting of the tfrxreport component from false to true. this might help you out. Thanks gordk, That is just as good, if not better, than having the hourglass cursor as the user does not expe…
  • Mike.R wrote: » I need to sort a report by Grant total but I don't know how to do that if all possible. See attached. Mike http://www.etl-tools.com I found that tricky with cross tab reports. The easiest solution for me was to sor…
  • doncht wrote: » Quick question on this please regarding the programmers manual. Will it be accessible even if we haven't purchased anything yet? its here http://www.fast-report.com/public_download...erManual-en.pdf
  • Felipe Pucci wrote: » ok.. but at realy my problem is not the sum... but where i must display it... the total values are simple to do.. but i have to show it at the last row of the masterdata... for each client just like this... [line 1] …
  • technisoft wrote: » Using memorystreams. Thank you technisoft, I eventually got it working that way. I am using quite a few script variables in the letter report and found that I had to repeat setting up the script variables again in the co…
  • technisoft wrote: » technisoft wrote: » How can I translate the code in the programmers manual to the situation when I am not calling LoadFromFile() ? Using memorystreams. save invoice to memorystream save letter to memorystream …
  • Mick.pl wrote: » Try to add TfrxChild to GroupHeaderJudgementArea and place yellow TfrxMemoView on it. Thank you Mick. Unfortunately that didn't work (the memo was printed after the subreport instead of before) However, adapting your idea…
  • collectivefriction wrote: » I need to pass a string to a report so that I can find some saved images to later load. Is there an easy way to do this? Can't find anything in the manual, although I expect it is there somewhere I settled …
  • After much experimentation I have managed to find out some of the datatypes and values needed to control some aspects of the chart through code so will post them here. Maybe this can be the start of a sort of 'People's Documentation'. If anyone find…
  • Mick.pl wrote: » Do you have any experience in controling TeeChart objects from FastReport script? Only a little. eg setting the data to display from an array built up as a band is printed but that was the FR derivation, not 'pure' TeeChart.…
  • Mick.pl wrote: » Howard, I would try to create a variable and set its value in OnBeforePrint event of GroupHeader. Then I'd use this variable in OBP event of PageFooter to fill the MemoView. I assume that next GroupHeader will start a new p…
  • Mick.pl wrote: » Mick.pl wrote: » SeriesData := FloatToStr( ) + ';' + FloatToStr( ) + ';' + FloatToStr( ); Chart1.SeriesData[0].YSource := SeriesData ; I've GOT it [img]style_emoticons/<#EMO_DIR#>/smile.gif" style="vertical…
  • Mick.pl wrote: » Howard, I would try to create a variable and set its value in OnBeforePrint event of GroupHeader. Then I'd use this variable in OBP event of PageFooter to fill the MemoView. I assume that next GroupHeader will start a new p…
  • mithcd wrote: » Check this link. Hope this helps. http://www.fast-report.com/en/forum/lofive....php/t3858.html Not really. That just shows how to make a pie chart (and one with just fixed data at that). It doesn't even mention the colours…
  • wrote: You can use only one preview for one TfrxReport instance Thats what I was begininning to suspect. Is it possible therefore to create a second instance of a TfrxReport? Currently I have the TrfxReport object placed on a form becau…
  • gpi wrote: » Change frxPreview.pas: constructor TfrxPreviewWorkspace.Create(AOwner: TComponent); begin   inherited;   FPageList := TfrxPageList.Create;   OnDblClick := PrevDblClick;   FBackColor := clGray;   FFrameColor := clBlack;   …
  • gpi wrote: » gpi wrote: » Where did the 1.frs and 2.fr3 files you are loading come from? Application folder gpi wrote: » If they are the report design saved to a file does this mean I need to save, and distribute, as many duplicate cop…
  • gpi wrote: » gpi wrote: » I think it might be possible to do it by putting the StudentID into the tagstr of the relevant memo in Row0OnBeforePrint event and then copy it from there to the cell's TagStr in the OnPrintCell event but I have no id…
  • gpi wrote: » gpi wrote: » The report is then shown using ShowReport(true); Use frxReport1.LoadFromFile('1.fr3'); frxReport1.PrepareReport(True); frxReport1.LoadFromFile('2.fr3'); frxReport1.PrepareReport(False); frxReport1.ShowPreparedRep…
  • gpi wrote: » Try to use TfrxMemoView.TagStr What a clever idea - of course that won't change! Thank you that works.
  • gpi wrote: » Did you use your login/password for your personal download page? I think so. When I go to the main page of Fastreports I log in with a user name and password to get to the forum and post comments. I can also see all my controls…
  • flogger123 wrote: » Looks like this issue needs further tests and troubleshooting. Have you created a support ticket on this yet? I don't know how to. I can post on here and see 'my controls' etc but every time I try to log in on the support …
  • gpi wrote: » Why I don't see WHERE Grades.ClassSet = [img]style_emoticons/<#EMO_DIR#>/tongue.gif" style="vertical-align:middle" emoid=":P" border="0" alt="tongue.gif" />1 in your detail sql?[/img] I'm sorry, I don't understand. Wh…