gordk
gordk
About
- Username
- gordk
- Location
- St.Catherines On. Canada.
- Joined
- Visits
- 0
- Last Active
- Roles
- FR Team
Comments
-
write code in obp event of band or memoview to test value and set memoviews .font.fontcolor or set up the conditional highlighting
-
you have probably missed a call to application to process windows message.
-
if you were using conditional highlighting editor you probably specified the color in the wrong section of the dialog
-
read about the displaying expressions with the help of the text object, in the creating reports section of the use manual. when you work in a memoview [] tells the engine to calc the value contained inside the braces and display that value. Since …
-
no need to set band width when created a band's width is that of the design page. you have only created a title band with memoviews, you will see only one page in order to produce more records you need to use a masterdataband and set it's rowcount…
-
read the user manual chapters on groups, aggregates
-
either add code to obp event of band or object test datafield value and set font color accordingly or set the the objects conditional highliting props. see the user manual under formatting,highlight.
-
your problem lies in the declartion of your variables. frbTitle,frbMaster: TfrxBand; the variable must be of the correct type. ie frbmaster should be of type tfrxmasterdata;
-
your delphi code is overriding. i would make your choice of setting a condition of your delphi code and set it just before loading report.
-
AFAIK this bug has existed for a long time and has not been fixed as yet. suggest you take out a support ticket to remind the developers
-
there are a number of things you can try. any band can be desplayed by using the engine.showband(bandname) method. childbands do not have to be attached they can be called using the above method. you can also use the on manual build event. and y…
-
when working with regular data bands. down across is accomplished by dividing design page into columns. across down by setting the band's no of columns and column gap. you can also control output of objects in the obp event by using the engineobj…
-
set band's stretch property, set the memoview's stretchmode.
-
typical code var myline:integer; procedure MasterData1OnBeforePrint(Sender: TfrxComponent); begin increment(myline); end; procedure Pageheader1OnBeforePrint(Sender: TfrxComponent); begin myline := 0; end; begin end.
-
easiest is to use your own variable reset to 0 in page header obp event increment it in databand obp event. IIRC line and line# were designed for working with groups
-
it is very hard to try to help you when you don't give all the information. if you can please post a demo project in the binaries news group.
-
i suspect your problem is that you have 2 overlays. only one overlay per design page
-
yes you can see the usermanual on crosstabs Managing a cross-table from the script. btw across then down is a boolean property and can be set.
-
hide the mdband by setting it's visible property in it's obp event. masterdata1.visible := not ( = 0);
-
Read the pinned message about the designer help file above.
-
Can i access to dataset fields with an index ? to frxDataset.Fields here is a sample var i: Integer; ds: TfrxDataSet; list: TStringList; ds := Report.GetDataset('frxDBDataSet1'); list := TStringList.Create; ds.GetFieldList(list); …
-
if this is a multi design page report, use the onbefore print event of the page to set the page's visible property according to the datafield value, where and how you retreive and store the value is up to you Without more information cannot be more…
-
if you retrieved the overlay variable of type tfrxoverlay using the findobject method then i expect problem here Picture := TfrxPictureView.Create(Overlay.Report); should be Picture := TfrxPictureView.Create(Overlay); //set all other props of …
-
if using fr3 then post in the fr3 forum. to do what you want, you need to use 3 tfrx memo views, would be better if name was one field, page was last field, and dots are just text in over sized in width memo, in between. auto size first memoview, …
-
that is not a valid call inside the report., it is used when creating a report from code at the delphi level.
-
first, the memo view must be created in the context of it's owner since you haven't created a variable of the band type and pointed it to the band, you have not created the memo and therefore cannot access its properties. second where are you t…
-
the master data must have a dataset or be set up as previously mentioned. the masterdaband must be set to stretch and allowsplit, the tfrxrichview must have it's stretch mode set correctly.
-
andrew after installing the fr components you will find them on your delphi component pallet to your delphi form add a report component and a designer component. typically code would look like this from a button click event. frxreport1.designrep…
-
it will be until given a value. see the main demo whats new print copy names report.
-
yes it is possible create a dialog in either the report or delphi pass the required dimensions to the objects in the report by using variables or setting the objects properties directly and write code for the approptiate event of the report.