gordk
gordk
About
- Username
- gordk
- Location
- St.Catherines On. Canada.
- Joined
- Visits
- 0
- Last Active
- Roles
- FR Team
Comments
-
Print onpreviouspage is usually used in context of composite reports. Possible your design pages should really be designpages of a subreport object placed within a band on the first design page, or separate reports run as composites. Post a small…
-
anything with fr is ver 2.# fr3 is frx if you are asking about fr3 post in the correct forum.
-
Yes you can. However if you are hiding any bands then you may get a bad count.
-
here is a sample on the reports code page var masterecordcount:integer; //declare global var procedure ReportSummary1OnBeforePrint(Sender: TfrxComponent); begin memo7.memo.clear;// how to clear a text objects memo memo7.memo.add('[masterec…
-
so add some variables to the event retrieve the freespace divide it by the child height and call show band in a loop or try using a while do block instead of the if then block in the example. You have the general idea, it is up to you to write cod…
-
You don't understand the row count property of a data band. When a data band us connectted to a datasource the datasource controls the number of times the row repeats, row count is used when the band has no datasource. What you do is add an orphan…
-
You can find the differnces here http://www.fast-report.com/en/products/variants.php IMHO better to download.
-
Create variables in the report ie stdate enddate when you load report pass values into the variables before calling preparereport or show report read the progammers and the users manual on variables.
-
One way is to write 2 userfunctions, one to passout current settings when the forms ok btn is clicked and store in an ini file,one to read data from the ini file in the dialogforms on activate event.
-
look at the fr2.54 frprinter.pas file there is a conditional define define prn reset if it is not uncommented, uncomment it and recompile fr.
-
create a var of required type After loading report use findobject method varname := frreport1.findobject('nameof object') varname.sql:= 'yoursqlstatementstring'; or varname.prop:= 'yoursqlstatementstring'; code to show or what ever. care must…
-
assuming you are using a dateeditcontrol on an fr3 dialog form the text in your header memo would be [Dateedit1.date] - [Dateedit2.date] and set the display format of the memo to what date format you want.
-
the width of a given cell is goverend by the setting in the maxwidth, minwidth properties of the crosstab object, and the position and content of the cell within the matrix internal code finds the widest value for the row header and if the content…
-
Yes you can.
-
Why are you working with an out dated version? the current version is 3.10. if you are a registered user updates are free.
-
it depends upon what your memo contains ie [datafield] or [variable] or [expression] or just text. assuming it contains one of the first 3 above use obp event of either memo or band, write code using the lengthfunction to test the contents of the…
-
works fine for me d7pro fr3.10 pro win98 win xppro. recordcount is a readonly property and does not show in fr object inspector.
-
I have no idea i was just answering your question as to the properties in 2.54 and 3. Try contacting Alexander Fediachov.
-
Both crossview objects in fr3 have showxolumnheader and showrowheader properties.
-
on your delphi projects form that has the 2.54 report saved in dfm dblclick report report component click file/saveas chose .fr3 file. put it where you want.
-
the band name must be the same as it is in the object inspector the 3rd parameter must be included
-
here is an answer i posted in the newsgroup. modify lines in memo text object you can place each of these expressions in a memo I usually do this in an rtf memo [Customers."Company"] [Customers."Addr1"] [IIF(='',,)] [IIF(='',,)] [IIF(='',,…
-
when passing in from delphi make sure you include the <> around the datafield and add extra apostrope's where needed, remember delphi strips them when passing.
-
Try using <> around the field instead of []
-
set the report components properties correctly type rtmultiple and dataset property to correct dataset
-
there is a number of things to pay attention to when working with dialog forms where you do it (which control and which event) and which property you set, and the taborder of the controls. sample using internal query report of main demo 52.fr3 en…
-
go to the binaries news group you will find a topic userfunctions see the second thread on dec 2004 it shows how to use user functions and add functions from other libraries.
-
Ishould have said this event fires for every object in the report so you are better to doit where you load the report. sample procedure TForm1.Button7Click(Sender: TObject); var LFXMCOM:TfrxMemoView; begin frxReport4.Clear; frxreport4.L…
-
this event fires for every object in the report procedure TForm96.frxReport1BeforePrint(Sender: TfrxReportComponent); the typical syntax would be begin if sender.name = 'Memo1' then with tfrxmemoview(sender) do // cast sender begin set prop…
-
use a complex if function and some variables iif(expression,truevalue, falsevalue) [frxDBDataset1."FNAME1"] [frxDBDataset1."MI1"][frxDBDataset1."LNAME1"] [frxDBDataset1."ADDR11"] [frxDBDataset1."ADDR12"] [frxDBDataset1."CITY1"], [frxDBDataset1.…