gordk
gordk
About
- Username
- gordk
- Location
- St.Catherines On. Canada.
- Joined
- Visits
- 0
- Last Active
- Roles
- FR Team
Comments
-
not sure of what you are trying to do. see the maindem old style cross tab report or the calendar report for correct usage of vertical bands.
-
with the project you posted 1 your tfrx reportcomponent clear the dataset property, since you have the mdband connected to it. 2 in your report write code in the opb event of the masterdataband procedure MasterData1OnBeforePrint(Sender: TfrxC…
-
where are you writing the code? if you are only getting the last picture loaded there is something else wrong.
-
loadfromfile requires a string with string delimiters and if you are using datasets fields from the report you need datasetname."fieldname" enclosed in <> so this is not what you want image.picture.loadfromfile(path.text); image.picture.…
-
i expect one of the memos has the stretchmode set to smmaxheight and is picking up the size of the bottom memo. child bands can be chained. generally i would use masterdataband //child property set to child1 stretch true, since you probably have …
-
IIRC if the dataset has a username use it.
-
add datsets first here is an example from the programmers manual ie Pascal: var DataPage: TfrxDataPage; Page: TfrxReportPage; Band: TfrxBand; DataBand: TfrxMasterData; Memo: TfrxMemoView; { clear a report } frxRepo…
-
1 create a fileexists function write code in the obp event using this function to decide what image to load.
-
The engine process a design page from top down depending upon band type and from left to riright within a band in order of creation. i see problems in the example you have given. 1 objects are directly on the page 2 the bottom memo was created b…
-
what version are you using works ok for me fr4.14.1
-
here are some tips to keep in mind the subreport must be placed in a band, it cannot be itterating through the dataset used in the main report or it will close the dataset and there will be nothing to output. bands are output from top down depen…
-
not enough info but i would try something like this assumming your subrep contains all info for the customers invoices. nested groups groupheader1 condition customer number place subrep in this band or in a child band groupheader2 codition invoi…
-
in the memoview for the datafield set the displayformat customformat string. ie '(###) ###-####'
-
read the Post you just replied to the unit was replaced bu frsimpletex export. "Just eliminated the unit reference frxEportTXT from the use clause and it compiled without a problem. Just now curious as to why that was originally used."
-
fr4.14.1 no problem for me but here is something i remember from prev problems make sure that when the original fr memoview ws created and sized t5hatyou you did not reverse them ie pull the bottom above the top or the right over the left.
-
use rotated text, and it is not landscape it is probable custom size portrait.
-
You could try this in the opb event of crossview1 retreive and store the engine.cury property in the obp event of crossview2 set the engine.cury to the saved setting.
-
in the dialog with the combobox write code to set the groupheaders condition.
-
David the normal method would be to call engine.newpage in the obp event of the header
-
try this (Child1.height+Footer1.height+MasterData2.height+ReportSummary1.height)-1 the other alterative is to use the overlay method for your lines.
-
sounds like you are using a basic version or the version that ships with XE.
-
Mike you can write code to populate the xsource and ysource values for fixed data just select fixed data and leave the values empty. in the obp event of the chart object write code to set the values. sample Chart1.SeriesData[0].XSource := 'Jan;…
-
There really is no best approach, over the years of working with Fr I have found that if something works for you go with it.
-
David FYI when you create categorized variables in fr if you give them a string value you must include the apostrophe string delimiters or the value will be treated as an expression and trigger the ogv (ongetvalue)event to try to obtain a value.
-
David here is what i use, it might help you, when i create the query paramaters i point them to precreated report variables, whose values are preset to predetermined values, i modify the variables from either combobox selections or radio btn sele…
-
here is a sample using variables but you can modify to suit. internal report code add to the empty begin end block of the code page this will run first. var i: Integer; ds: TfrxDataSet; list: TStringList; ds := Report.GetDataset('frxDBDataSe…
-
where are you trying to change it from? Delphi or internal report code? and at what point in execution, before or after the report is loaded?
-
AFAK from delphi you can't. but you can set the maxcolumn width of the crosstab.
-
Yes the filepath must exist
-
i would expect that the dot in "proposal.files" is your problem