gordk
gordk
About
- Username
- gordk
- Location
- St.Catherines On. Canada.
- Joined
- Visits
- 0
- Last Active
- Roles
- FR Team
Comments
-
here is some sample code for the demo report 45.fr3 using a tstringlist. Var List1,List2: TStringList; idx: Integer; procedure Band7OnBeforePrint(Sender: TfrxComponent); begin // Set(, Sum(*)); if not engine.finalpass then begin // format…
-
sorry i should have read a little closer. the display format property wont work as you are working with the final output string. i see you incrementing the index in the group footer but i dont see the index(i) being reset anywhere so you are prob…
-
IMHO unfortunately you can't if you are trying to do both from the same preview window as you already are on the finished pages, and you want to alter a design property. in my own work i run the internal(inhouse printing for snail mail delivery cu…
-
1 in any expression within a memo you are only allowed 1 set of [] as they are expression delimiters. but why go to all that trouble just set the display format property of the memo at design time. select the memo rtclck select display format.
-
a subreport does not have a height the amount of space it takes up on the output page is dependant upon the requirements(properties and content) of the objects contained on the subreps designpage. so any limiting would have to be done within those …
-
yes it is, glad you got it i think my head was out in deepspace last night.
-
Mike don't try it there is a bug ill get back to you
-
Hi mike here is what i would change based on what you posted add a variable to the report's categorized variables named Cancelled DO NOT give it any value. change the report code begin //here i want to terminate whole report job... set('Cance…
-
sorry it is not clear to me i don't understand why you are insistent upon using the onmanual build and a two passreport. can you post a sample app in the binaries news group?
-
this will depend upon where in code and for what reason you are trying to terminate the report. assuming you loaded and called the report in this manner frxreport1.loadfromfile('path&filename'); frxreport1.showreport;// this forms output an…
-
are you trying to save the modified output of the report or an altered design?
-
with out knowing exactly what objects you are using. you will probably have to control things manually in report code using engine.showband(bandname) and also code to check engine.curx cury props. see the user manual on using the engine object.
-
just an update using bds 2006 win32 fr4.5.41 rtf doc created in office 2003 with jpeg loaded fine. check your fr.inc file see if the jpeg option is commented out if it is, uncomment and recompile the frlib using fr's recompiler.
-
tgrxrichview is for rtfformated text only. you might try using an ole object if your rtf controls support ole.
-
will send it to day.
-
Dergen the only other thing i can think of that would not allow the expression to work is the convert null setting of the report engine if set to false you will not get a zero and the expression will not equate to a boolean result when a null valu…
-
Steve quick answer don't store in dfm. IMHO Storing in dfm leads to having to use too many tfrxreport components and makes for large .exe files and any mods can only be done by you in the IDE environment. if you want your end user to be able to …
-
send me your email address and i will send you a reworked report layout.
-
where is this please show the whole iif function
-
My previous reply was just a concept. we have a basic lab report so i need some answers to the questions below. parameters for report generation. will this report be printed on an individual basis by selecting the individual patient and running t…
-
after looking into your design i would definitely redesign. first a design page does not have to be the size of the output page. go to mnu>file>pagesettings largeheight in design mode. gives lots of room to work. for a sample look at your …
-
first i don't see any columns. i see mulutiple text fields arranged vertically on masterdata bands on page 1 and the same for the sub reports. basic problems i think i see so far. location/position on design page of subreport objects, use of the…
-
Dergen since you know the function works passes the true or false value when the expression equates to boolean true or false then you must look at your expression portions contents to find the error, as it is never equating to true or false. since…
-
dergen i messed up my explanation a bit had to look at my old notes run the main demo pick the simple list report change te contents of memo8 to [IIF( = 'Action Diver Supply','true',vartostr())] what we are doing is putting a final value into…
-
then your expression portion is not equating properly. translate this to words and you will see why you are getting the true value rather than the false value. [IIF(>0, 'Empty', 'Full')] if is greater than 0 then 'empty' else 'full' 18 is …
-
assuming you have not changed the memos delimiter property from [] read the description of the function carfully you will see that the first parameter is an expression that equates to a boolean value the truevalue and false values are variants an…
-
what version and build number you may be out of date. procedure TForm1.Button1Click(Sender: TObject); var page: tfrxreportpage; begin frxreport1.loadfromfile(wpath+'test.fr3); Page := TfrxReportPage(frxReport1.Pages[1]); page.PageCount := 2; …
-
i have never tried a case statement in a variables expression but you can write it in the obp event of the memo or band to fill the text of the memo with the correct expression note the apostrophes and [] delphi code sample case of 1: IF {VEND…
-
i have never tried a case statement in a variables expression but you can write it in the obp event of the memo or band to fill the text of the memo with the correct expression note the apostrophes and [] delphi code sample case of 1: IF {VEND…
-
the iif function subs strings if expression equates equates to true or false. your true value is your false value is not a string try '[PNJs."GAB"] '