Default Avatar

gordk

gordk

About

Username
gordk
Location
St.Catherines On. Canada.
Joined
Visits
0
Last Active
Roles
FR Team

Comments

  • "begin if engine.freespace < footer.height then begin Engine.CurY := Engine.PageHeight -footer.height -footer.Height; end;" this bit of code is setting the cury(the position it is about to output) of the engine if it is less than the freespa…
  • only draw items in the overlay band that will always be in the same fixed position on the output page. Generaaly when you start moving objects according to code, you have to write code to position all other objects. BTW i dont see you altering the…
  • 1 no image wil size to margins 2 place shapes in the overlay band. When using overlay band, use largeheight in designmode page option and place the overlay band below all other bands on design page. 3 not directly
    in Background Comment by gordk July 2010
  • first to check for nulls the report engine setting convert nulls must be set to false. when convertnulls is true default the other option is to check for empty string or 0 for numeric fields.
  • suggest you read the chapter report design refrences in the user manual under report viewing and printing.
    in CSV export Comment by gordk July 2010
  • if a band has a 0 height the events still fire, in some very complex reports, this can be utilized to have events available for use (ie seed variable values etc). you dont have to have a page header and a page footer. A band is just a place h…
  • John Pendule wrote: » Hello, I start programming with FastReport and I have a question about the events. What is the best way to use the report's events in Delphi? For exemple, how can I launch code in delphi when the BeforePrint event of th…
  • var i: Integer; c: TObject; for i := 0 to Sender.Objects.Count - 1 do begin c := Sender.Objects if c is TfrxMemoView then TfrxMemoView©.font.style :=fsbold; end;
  • Pete it does still work and is the sql of a query in the datamodule of the main demo. the point was the last line of my response his join was incorrect.
  • check your query sql statement. it should look something like select * from customer a, orders b, items c, parts d where a.custno = b.custno and b.orderno = c.orderno and c.partno = d.partno order by a.company, b.orderno the key is the se…
  • seems like it is an aged receivables report. bands are merely place holders on a design page and they tell the engine where/when to start outputing the data contained in objects within the band and they are ordered by band type. data linking dep…
  • don't confuse design settings with controlling output of the report engine. in the obp event of the footer write code toto position the output. end if engine.freespace > groupfooter1.height then begin Engine.CurY := Engine.PageHeight -grou…
  • it may be, with out more info about the structure of report i can't tell
  • typically add a child band attach to mdband and place subrep object in the child. or add a detailband place subrep in detail
  • try creating the objects in either the onstart report event or in the empty begin end. block of the code page.
  • i do not know what you mean by "ask out the dataset" 1 read the user manual on using aggregate functions. 2 you may want to use a column footer rather than a page footer.
  • you must use the preview component and create your own custom preview and menu items.
  • sample test [IIF( = 2,'true','false')] works fine, prints true when line# = 2 so your first parameter is probably not equating to a valid boolean value fr4.9.84 enterprise.
  • since you haven't stated what os , what fr version level and build number eg winxp, delphi 2010, fr4.9.84 (basic standard pro) it would just be guessing.
  • 1 the number of tfrxreport components could be 1 unless you are running batch reports or interactive reports see the programmers manual and the user manual. You will probably never achieve having all reports in one report definition file, it does no…
  • set the expression delimiter property for the memo.
    in memo.text Comment by gordk June 2010
  • you must be logged into the forums as a member not as a guest to download
  • after loading report and before calling showreport or prepare report. frxReport1.EngineOptions.DestroyForms:=False;
  • read the programmer's manual chapters on building reports from code. the memoviews must be created in the context of the band;
  • after loading report set report component destroyforms = false;
  • report must be set to two pass see sample in the main demo under dialogs and script totals in group header.
    in Sum in Header Comment by gordk May 2010
  • a .fp3 file is a finished report which is the output of the designed report file .fr3 which has been loaded and run and choices made in it's dialogbox. There is no dialog in the fp3 file.
  • probably shoud be using a frxdbdataset rather than the userdataset.
  • use one Band and control the bands curx cury position in its obpevent. see the users manual on using the engine object.
  • there is no rtl reading property for tfrxrichview.