gordk
gordk
About
- Username
- gordk
- Location
- St.Catherines On. Canada.
- Joined
- Visits
- 0
- Last Active
- Roles
- FR Team
Comments
-
works fine for me. attach a sample of your fr3 file here.
-
You must add it to the reports.script file then connect it. here is a sample of adding it to a clean script file.
-
" Memo7.left := Memo8.lef;" that should produce an error you want Memo7.left := Memo8.left; if your memos are in a band use the band obp event.
-
include the tfrxdesigner in your project and write the code in the onsave report event of the designer.
-
You might also take a look at the main demo underdialog and scripts at the choose records to print demo for another idea.
-
yes you can To Save stream := TMemoryStream.Create; TfrxReport.SaveToStream(stream); stream.Position := 0; (dataset.fieldByName('my_blob') as TBlobField).LoadFromStream(stream); To Load: stream := TMemoryStream.Create; (dataset.fieldByNa…
-
Load from file requires the full path+filname.fr3 then you call showreport.
-
use dialog form enter and open the query dataset after exiting the memo control and see if there is a record count if none set the mrok button to false and show a message.
-
hi Dan sorry i din not get back to you sooner. set report engine options doublepass to true and add this code to your demo report var myvar:string; idx:integer; ar:tfrxarray; procedure MasterData1OnBeforePrint(Sender: TfrxComponent); begin…
-
use the format float function
-
probably due to the report being a 2 pass report. When you create a categorized variable with no value each time the variable is encountered in the report it triggers the ongetvalue event. you should initialize the variable after loading the repo…
-
once you have set the value in the ogv event it will not change what you want to do is use the obp event using the name of a specific object and then modify the variables value. whatversion and level of fr are you using. xe version or full fr abo…
-
is this data field a numeric or a string? if a numeric then [IIF((= 0),0,/*100)]
-
"That will not work with a header band because it prints only on page one." Set the headers print on newpage property to true
-
use the standard header footer instead
-
is your custom preview form modal
-
what you are not understanding is that the rtf memo does not support the internal page break. newout pages are formed when the report engine no longer has enough freespace to fit on the page. or when a call is made to engine.newpage
-
"This results in each Group containing the full list of records in the Person DataSet" instead of trying to filter write code in the obp event of the band to control the visibility or post a demo project here and i'll take a look
-
Hi David here is a tip when using group headers if you want to print something in the group header that comes from values after the groupheader you must make the report 2pass and gather the values in an array then subthe array value in the secon…
-
David if you have detail data this could be done in the mdband using detailbandsdataset.recordcount property and an [iif((detaildata1.dataset.recordcount = 0),true value,false value)] in the memo rowcount property only applies to virtual datasets.
-
1 when something works on the development machine and not on others, 1 look at what the differences are maybe you designed for a specific printer and it is not avaiulable, 2 trial version has a limited number of out put pages. 3 does the band con…
-
the band that contains the richtextmemo must be set to stretch and allow split.
-
when the detailbands are stretchable you must use a different approach. use an unattached childband and empty memos that duplicate the detail band. you then write code in the obp event of the detail footer to check the amount of freespace and and…
-
the easiest method is to draw the lines in an overlay band. TIP set your designer to large height in design mode, after all your other bands add an overlay band with large vertical height. in the overlay add your lines, the top of the overlay ban…
-
so add another variable to store the previous date and on the next record check the datafield against the stored date and set the visible properties of the memos you want to hide.
-
declare a typed variable at the start of the report code page. in the obp event of the band write code to add the fields ie myvarname:=0; myvar:= + and so on use the variable in the memo to display the total in the memos you want to hide set s…
-
which method are you using to get the totals currently?
-
no you cannot, when you reaxh the end of the detaildataset the first master is moved to the next record
-
1 The band must be connected to the dataset to iterate through its records or you must write code to move the dataset. 2 your subreport object should not be on the page but in a band, probably a detailband set to stretch 3 you are stating that th…
-
i am just guessing it appears they are possinbly variables. they could be linked to datafields in the table or they could be given values using the onget value event.