gordk
gordk
About
- Username
- gordk
- Location
- St.Catherines On. Canada.
- Joined
- Visits
- 0
- Last Active
- Roles
- FR Team
Comments
-
typo error should be obp
-
write code in the opb event of the masterdata band to force a new column. get the detail dataset record count, multiply bandheight by the no of recs then check the freespace if less than the calculated value call engine .newcolumn.
-
also read the user manual on using the engine object. You can write code in the obp event to set the curx and cury values,
-
are you using band or page columns? BTW you are posting in the wrong forum you should be in fr3 forum.
-
use the iif function in the memo.
-
what i have found is to make the pagefooter band slightly larger in height 1 or 2 pels.
-
try frxReport1.EngineOptions.DestroyForms:=False
-
AFAIK the version shipped with xe2 does not have scripting.
-
whish you would have stated that earlier.
-
in design mode select the memoview on the right hand side select the events tab the dbleclick the desired event and you will move to the code page, where you can write the code
-
leave your group condition as to what it should be add code to your masterdataband typical procedure Band4OnBeforePrint(Sender: TfrxComponent); begin Band4.visible := ( < 5); // value is one highter than what you want display. end;
-
when you open in design mode go to mnu>file>pageoptions and set the page size.
-
i would try using 2 side by side subreports one for left column one for right
-
use 2 memos in the band both will have the same datafield in the obp event of the memoviews or the band write code to set their visible property. ie memo1.visible := ( = true) memo2.visible := ( = false)
-
look at the properties that can be set for the bands ie: printchildifinvisible bands can only grow NOT shrink set the band stretch prop and the memo's stretch mode, wordwrap etc very seldom do you need to try to manipulate design settings, but …
-
you could add y and z to attached child bands the band containing y can have its visible prop set in the obp event or when all datafields are contained within one memoview you can use the onafterdataevent of the memoview procedure mLabelOnAfterD…
-
the objects of a band are a 0 based array of tobjects typically var i: Integer; c: TObject; for i := 0 to Sender.Objects.Count - 1 do begin c := Sender.Objects if c is TfrxMemoView then TfrxMemoView©.Visible := False else if c is TfrxLi…
-
use a typed variable in the accumulated memo [acc] At the top of code page create a typed variable acc: extended; initialize it to 0 in the begin end.block at the bottom of the code page or in an obp event of a band or header. in the obp event o…
-
do not see the attachment. try this do not use line or line# variable use your own variable and write code write code in the obp event and oap events of the band containing the memo. you may have to make the report a 2 pass report to determine th…
-
which ever works best for you.
-
look at using the iif function within the memoview.
-
read the programmers manual on building reports from code. Bands are only place holders on the design page the data must be placed in memo views, wich have been created in the bands. Also look in your fast reports demo folders for ways to use the …
-
increase or decrease the height of the master data band above or below the memoviews
-
from the Delphi FAST REPORT pallet
-
as i stated the memoview supports limited set of html tags you can also see this if you run the main demo and look at the html tags report. Set the memo's allow html tags property to true and add tags around [ ] braces' [cus_name] [cus_family]
-
in the obp event of the memovview write code to check the engine freespace and if too little call newpage. ie if engine .freespace < "put your value here" then engine.newpage
-
the tfrx memoview supports the use of a limited set of tags place the tags on eithee side of the [ ] braces
-
yes you must have tchart installed.
-
make sure you add the fr chart unit to the delphi app as well. You might also want to go to your fr dl page first and update your version of fr.
-
fr is initially installed using the standaqrd version of tchart. Have you run fr's recompiler and selected the correct version of tchart that you are using and recompiled?