gordk
gordk
About
- Username
- gordk
- Location
- St.Catherines On. Canada.
- Joined
- Visits
- 0
- Last Active
- Roles
- FR Team
Comments
-
TfrxCheckboxView?©.Visible := False; should have read TfrxCheckboxView( C ).Visible := False;
-
depending on where you do it from you can iterate through all the objects and set their values either from just after loading the report in delphi and using the findobject method or internally in obp of page var i: Integer; c: TObject; beg…
-
not without modifying the source code in the frxcheckbox.pas file and recompiling. it uses the wingdings font for the characters.
-
use the obp event of the checkbox ie procedure CheckBox1OnBeforePrint(Sender: TfrxComponent); begin checkbox1.checked := = 20; end; this example assumed "my variable 1" was added to the variables list and given a value either when created or …
-
sorry to take so long yes you can. procedure Cross1OnPrintRowHeader(Memo: TfrxMemoView; HeaderIndexes, HeaderValues, Value: Variant); begin if HeaderIndexes[0] mod 2 = 0 then memo.color := claqua else memo.color := clwhite; end; i suppose if e…
-
They are in current version 3.05 they are now listed under vertical bands the only thing to note is that if saving fr2.53 reports as fr3 (converting) the crossbands are not exported
-
for some reason the expression on the right does not equate to true in the obp of the memo may be syntax i'll test later.
-
in the obp event of the band containing the memo memoname.Visible := = 1;
-
set the allowsplit property of the band.
-
font.style:= fsbold; font.style := fsregular or nil
-
you can add your own function in the reports codepage
-
you are using the wrong function and improperly [SUM(1, MasterData1, 1)] [SUM(thiswould be a field or var, MasterData1, 1)] to get a sum of the values of that field. you want to use the count function.
-
Here is a sample in delphi you'll have to translate to bcb edit1.text contains Exercice 2004 ??? 30 octobre 2004 loading into variable at start procedure TForm1.Button4Click(Sender: TObject); begin frxReport3.LoadFromFile('MyReport.fr3'…
-
it may be printer settings i assumed you questioning page color. it prints ok for me on xppro win98 using a canon i350. I haven't tried any other printers yet, it only colors the area between the margins and you may get funny results if there a…
-
use the onprintcell event if rowindex mod 2 = 0 then memo.color := claqua else memo.color := clwhite;
-
Hi Steve typically in an obp event of band memo1.text :=report.reportoptions.name;
-
they were not variables in 3 they are part of report.reportoptions title no longer exists it is now reportname.
-
With out knowing more about your report here is what i would try. control the visibility of the detail band based on page# and line# in the detailbands obp event if [page#] < 2 then visible := [[line#] < 6] else visible := true;
-
More info needed what band are you working with master ,detail? what is datasource for band, frdbdataset, fruserdataset, virtual recNo?
-
place memos in the footer and use sumfunctions extended syntax ie mdband name band1 has 3 memos containg [tbl."fld1"] [tbl."fld2"] [tbl."fld3"] in footer 3 memos each would contain [Sum([tbl1."fld1"],band1,1)] and so on. better to use a c…
-
if you are using fr3 please post questions for fr3 in fr3 forum the answer i gave you was for fr2.53. in version 3 you must use the get method with the variable [copy(get('var1'),1,3)]
-
this assume you created var in report's datadictionary named var1 and did not set any expression value to it. your onget value code is bad should be if AnsiComparetext(parName, 'var1') = 0 then parValue := 'coucou';
-
Please repost in the correct forum.
-
ok what you are doing is trying to copy the memos.text property which is [var1], u you want the value of the variableand you must watch 2 things, since you are retrieving the value of the var in the ongetvalue event you can't process it until afte…
-
Look at what you passed in in the ongetvalue event. you probably included a [ within the string.
-
did you place a crossview component on the underlying delphi form?
-
if engine.finalpass then
-
see the fastreports-public.binaries newsgroup i reposted the old horizontal detail demo.
-
Have no idea why missing, When setting font properties use fsRegular to go back to normal.
-
does the data happen to be from a bcd field of a tclientdataset?