
basswar
basswar
About
- Username
- basswar
- Joined
- Visits
- 1
- Last Active
- Roles
- Members
Comments
-
If You have the method that produces these lines on any canvas, You can place a TFRPictureView component on an overlay band aligned to the appropriate edge of the page and at runtime you can load the previously created image. I would create a local …
-
Hi! I usually store images outside the database because of the easier handling. But in this case I would place an image component on the FR design page where You want it to be rendered and leave it empty. In the FR component's OBP event handler (…
-
Is there any printer selected as report default by checking the "select when report loaded" checkbox? If it is the case then try unselect it. Regards:Alex
-
Two subreport side-by-side with 1 masterdata band on each of them. They can have different datasources and can be placed anywhere on the design page. I tried this and works. Regards:Alex
-
Ok. I got it. I didn't understand your problem fully. See the \demos\prntbl1, \demos\prntbl2 or \demos\prntbl3 example reports. Or You can read the documentation in the fr_eng.doc file at the page 133 titled "Printing of column reports with variabl…
-
Use the [(FIELDISNULL( ' [dmManagement.cdsResults."TransferredWhen"] ' ))] syntax. Note the surrounding apostrophes around the fieldname. Regards:Alex
-
Hi! First: You can assign an eps format image to the TFRPictureView at runtime by loading an eps image with the aim of any graphics library that supports it. (for ex: GraphicEx) In this way any image format is supported. Second: if You want th…
-
Report.Dictionary.Variables.IndexOf(VarName); Regards:Alex
-
There are several way to do that. - place a variable reference in the memo: [YOUR_VAR], if You declare it in the dictionary then You can assign a value to it by coding on Delphi level: frVariables[YOUR_VAR]:=..., this is variant, so any value ca…
-
OK. I got it. In the prepared and loaded (in the preview) report - as metafile - all object is clickable. The click event fires the OnObjectClick(View:TFRView) event. In this event handler You can do anything You want, because You can retrieve all i…
-
Hi! The TFRMemoView stores its lines in the property called "Memo". Unfortunately the designer automatically assigns names to TFRMemoViews beginning with Memo... It is easy to mix them. So You should code the following: Memo2.Memo:=Memo1.Mem…
-
Yes, probably the LoadFromFile was the trick. But if You don't want to call this method, or You use several report components (ie. one TFRReport instance for one designed report) You can set the StoreInDFM property to True and there will be no need …
-
Yes we use FR in a lot of production environments, and the softwares written by me are running on intranet as well as on TCP/IP connection-based wans. Everything is OK. However I use FireBird for RDBMS everywhere. Regards:Alex
-
Some correction. Gord wrote in the Yahoo mail list not too much time ago. if [(FIELDISNULL('CustomerData.Customers."Contact"'))]then in 2.51 you'll find it in the expression builder under dabase functions. note the ' ' around the module.t…
-
I don't know what drilldown report is. Would You describe it? Regards:Alex
-
Hi! Try this code. I think your code didn't work because of the TFRView's (and of course the descendants') Memo property holds the code that runs before rendering the specific object's content to the appropriate metafile's canvas on the report le…
-
And wha about the next 2 pages? Are they change each other? One page with the first 15 column and one page with the remaining? Please clearify the problem. Because if the order doesn't matter, You can use 2 design pages and put the required fields o…
-
Hi Schreij! There are 2 important method of TFRReport. They are: - ChangePrinter(OldIndex,NewInde:Integer); and - PrintPreparedReport(PageNumbers: String; Copies: Integer; Collate: Boolean; PrintPages: TfrPrintPages); //TfrPrintPages = (f…
-
Hi Ikutluay! I think I didn't understand your problem in details. Please clearify it with an example. What do You mean by "the pagefooter is still at the bottom of page not after the detail bands". The PageFooter is always on the bottom of the p…
-
Hi! Use the FIELDISNULL internal function for testing the field for null value. Regards:Alex
-
Is the Frbde5.dpk compiled and installed under the IDE? It is in the FR_DIR\source\bde\ directory. Add that to the IDE's Library Path and compile it. There can be found the IBX,FIB, etc data access dialog components. Rehards:Alex
-
Hi Klint! If You mean You wanna save the prepared pages as graphic stream You can do that by calling the TFRReport.EMFPages.SaveToStream(aStream:TStream) method. Regards:Alex
-
Hi! I didn't do a thing like this. Ie. controlling pagebreak from delphi level. But I use pagebreak from inside the report. This can be achieved by calling the NewPage internal procedure in any band's OBP event handler depending on any condition …
-
Hi Mischa! If You wanna print address labels for envelopes, etc., You can implement it by column based printing using only a MasterData band on the design page. There are 2 ways to achieve column based printing in FR. You can set the design page'…
-
Really strange behaviour. Set the report component's ShowProgress property to False. Regards: Alex
-
Create temporary table, insert the PK's iterating on the Grid's SelectedRows property, and let the report based on the JOIN between the temporary and the displayed dataset. Regards:Alex
-
Hi! I have the same situation and I solved it on the DB-level. I use FireBird server and there is some stored procedure that will produce the desired output for me based on the selected currency's decimals. There is a currency table where the dec…
-
Hi! It's me again. I tried and the working code is: R.PrepareReport; R.EMFPages.Delete(DesiredPageIndex); R.ShowPreparedReport; Regards:Alex
-
I didn't try but maybe works: Don't call ShowReport directly, instead call PrepareReport; Than this code: EMFPages[Index].Visible:=False; Than ShowPreparedReport; Regards:Alex
-
If I right the frp file is a streamed version of the Report's EMFPages object. So it contains graphic data streamed to disk and it can only be handled as graphic, so You cannot examine it line by line. Regards:Alex