gordk
gordk
About
- Username
- gordk
- Location
- St.Catherines On. Canada.
- Joined
- Visits
- 0
- Last Active
- Roles
- FR Team
Comments
-
i not sure of what you are describing but here is what you do generaly the band containing memos must be set to stretch and allow split should be set to true the memos in the band must have their stretchmode set to smmax wordwrap must be set to tr…
-
if you are in the desinmode in the ide environment you cannot expect delphi code to run you must have your exe running. to do what you want you must have the code internal to the report.
-
you probably forgot about page margin values. the left of the first memoview should be 0. the next should be 0+ 1stmemo's width + any space, and so on for a quick check of what you have created call designreport instead of showreport.
-
AddValue(, [2001, 2], [1500]); glad you found it the add value([rowheadervalue,index ],[columnheader,index],[cellvalue]) method
-
Thanks Paul i forgot we added that property a while ago.
-
since you are creating the objects in the context of the band, objects within the band a relative to the band. you will probably wanto to set top, left width and height also you will probably want to set a number of other properties of the memovi…
-
it runs fine as soon as you enter the cross editor and set the cell functions to none instead of sum
-
you might also try changing this line of code "ds :=report.getdataset('PRO2');" to ds:= name of your detaildataband.dataset;
-
make sure you have selected none in the functions. look in your fastreport 4\demos\printstringgrid.
-
i told you to write it in the obp event of the masterdataband not the detail databand.
-
top of code page var ds: tfrxdataset; in the master data obp event begin ds :=report.getdataset('username of your client dataset'); masterdatabandname.visible:= ds.recordcount >0; end;
-
you want to hide the master databand when there is no detail data?
-
still not clear on what you are trying to accomplish generally to hide a band you would write code in the obp event of the band to set the bands visible property.
-
You Cannot it is not a public property
-
"I simply installed the two executables supplied for D7 and XE3!" THATS YOUR PROBLEM do the install the the for xe3 when that is done open fr's recompiler and select the bde engine for d7 and then select recompile all packages.
-
load the report set any properties of the export filter call preparereport not showreport then via the ???TfrxReport.Export??? method . In the parameter of this method you should specify the export filter you want to use: frxreport1.export(n…
-
check your ide to make sure your search paths are correct andnon of the fr component packages are unchecked.
-
did you uninstall the xe version that came with xe3 before installing your pro version.
-
When using a multi designpage report you need to connect the tfrxreport component to a dataset that will control the number of times the report is printed, this cannot be the same dataset that is connected to the masterdataband. usually it would b…
-
the sum function does not differentiate values in that way. what you need to do is to create a variable initialize it to zero before the detailbands start to print either in a detailheader or the masterdataband. in the obp event of detailband add…
-
it seems like what you want is to just drive the footer down to the page bottom and not print empty rows. if this is correct. just write code inthe obp of the footer to set the engines cury. if engine.cury < predermined value then engine.cury=…
-
in which band is the the memo with the expression located.
-
unfortunately this can only be used in master detail type situation create an unattached child band dthe height of your masterdataband and duplicate the memos of the masterband in the child band with no data. in the onbeforeprint event of the fo…
-
khawar.naseer wrote: » I need some help I want group detail to print fix number of rows such as 15. If records in group are less than 15 then 15 rows must be printed but if there are more records than 15 then actual number of records should be …
-
[IFF([DBLAN."IN_M"] = 'A', [SUM(,DetailData1)], '0')] too many [] in the expression use the builtin expression builder to build your expression try this [iif((= 'A"),(SUM(,DetailData1)),'0')] or use the builtin expression builder to build your …
-
instead of having all the export filters in the project create only the ones needed on the fly before loaading the report.
-
leave the visible property of the footerband set to true. report engineoptions doublepass = true in the pagefooter obp event write code yourfooterbandname.visible := = ; works fine for me.
-
if you are a registered user take out a support ticket and ask them to increase the max value of the updown button. but you will have to wait for the next version.
-
Yes it is the same problem. if you have source code you could edit the updown button's max value in the frxprinterdialog.dfm,pas file and recompile.
-
your printer will not accept more than 100 copies.