Create code inside fastreport
Hi
How to create code for change band with
Where I will write my code.
ex:
If variable = '' then
fxreport1.masterband.with :=2
else
fxreport1.masterband.with :=4;
Thank you
Mario
How to create code for change band with
Where I will write my code.
ex:
If variable = '' then
fxreport1.masterband.with :=2
else
fxreport1.masterband.with :=4;
Thank you
Mario
Comments
Thank you
I don't understand why I'm not open events in MasterData1 I have just access to proprieties then events isn't accessible.
Mario
Hi
It is possible may be I have a FastReport 4 Basic Edition only the standard edition is-it better
Just info..
Mario
Thank you M.Gpi
I will upgrade for standard edition
Thank again
Mario
Hi
I upgrade my fastreport for Standard
my problem is I will like to change a height of Groupfooter I have a probleme with my syntax
My question is
If variable< 1 then
band.height := 2
else
band.height : =4;
my code ise :
procedure GroupFooter1OnBeforePrint(Sender: TfrxComponent);
begin
if <frxDBDataset1."FRAISGEST"> < 1 then
GroupFooter1.height := 4.2 ;
end;
begin
end.
What is 4.2's unit, centimeters, inches?
What is the value supposed to be when if <frxDBDataset1."FRAISGEST"> <= 0?
Thank you tecnisoft
My code was OK but my height to small
I replace height with value 185 and my band.height is perfect.
I use version 4.12 standard
Where I check unit inside fastreport
Thank again
Mario