gordk
gordk
About
- Username
- gordk
- Location
- St.Catherines On. Canada.
- Joined
- Visits
- 0
- Last Active
- Roles
- FR Team
Comments
-
run frs recompiler and selrct which version of tchart you are using and the tchart files location.
-
set report engine options twopass to true. I respectfully suggest that you read both the programmers manual and the user manual and look at the demo reports.
-
the memo should contain the variabloe in square braces[ ]. MemoPages.Text := 'Page: ' + '[Page]' + ' of ' + '[TotalPages]'; Then the rteport will process them to get a value not clear as to why you are doing this in code as the memo only needs…
-
add a global variable and write event in the obp event of the group header to initialize it and in the oap event of the group footer to reset it. then write code in the obp event of the page footer to check the value of the variable.
-
try using a masterdataband in place of the child band. set it"s rowcount property to 1 record.
-
What version and level of fr are you using? Basic level does not allo0w you to code in the report, the code given is in the report script not the ide
-
here is a sample create the unit and just add a refrence to the uses clause unit myfrfunctions; interface implementation uses SysUtils, Classes, fs_iinterpreter; type TFunctions = class(TfsRTTIModule) private function CallMethod(I…
-
Place all fields in one memo then write code for the oad event of the memo. procedure memonameOnAfterData(Sender: TfrxComponent); var i: integer; begin for i := TfrxMemoView(Sender).Lines.Count - 1 downto 0 do begin if TfrxMemoView(Sender…
-
place the vertical memo in the group header. in the obp event of the retreive the engine's cury and store in a variable in the oap event of the memo set the engine cury to the variables value
-
Just include the fr designer component in the app. a simple call to designreport will allow the user to design his own reports.
-
try using the memo.value property but make sure you check it after the data is handled. ie in the oad event of the memoview.
-
use the overlay band for this memo it acts as an underlay
-
look for selfcontained label demo way back( 3yrs) in binaries news group hint use 1 memo to contain 3 data fields,size data band to height of label plus vertical space betwen labels.
-
write code in the oncalcheight event when stretching. the reason for placing the overlay after all other bands is to avoid clutter on the design page and possibility of objects being widowed to the page, top of overlay band = top of page. overlay …
-
You may wanto put lines in an overlay band use large height in design mode and dadd overlay after all other bands. Control band position for gfooter from code in obp event ie if engine.curx < given vakue then engine.curx := setvalue
-
Sorry i didn't get to them sooner Peter I was on holidays
-
look at the main demo basic reports multi-column bands
-
use the Band collum settings of the data band for hrizontal
-
procedure ReportSummary1OnBeforePrint(Sender: TfrxComponent); begin if engine.freespace > reportsummary1.height then begin Engine.CurY := Engine.PageHeight -reportsummary1.height -pagefooter1.Height - 1; end; end; OR IF STRETCHING DO …
-
add an orderby clause to sort your query according to the group condition(s)
-
You must create the variiable in the categorized variable list
-
use a query with anorder by clause to supply yor data
-
read the programmers manual chapters on variables and how to pass values to them or how to use the findobject method and pass values
-
you cannot set fint size and you must add rtf text
-
set the page design mode property to use large height in design mode
-
the language of this forum is english
-
look in the demos folder at the printstringlist demo.
-
typical example would be groupheader2.startnewpage:=true: where you do it (in which event) depends upon what you are trying to acheive. in some case you may be checking the recordcount of a dataset and if greater than a certain value you would ju…
-
some times Ie miss the easy things on looking at your code i realized this was a report converted from fr2 to fr4. try to doing your incrementing in the onafterprint event.
-
yes zip up the .fr3 and also a .fp3 of the output. the culprit seems to be about here - MasterData2 : his OBP is called twice sometimes