
Anu de Deus
Anu de Deus
About
- Username
- Anu de Deus
- Location
- Hampshire, UK
- Joined
- Visits
- 0
- Last Active
- Roles
- Members
Comments
-
Ah, in that case, create one page in the designer for each group of headers/footers/data you have, and control the pages' visible property from the TfrxReport onbeforeprint event.
-
It all depends on how complex your subreports are. If each one is made of a single masterdata band, then you can simply put all those bands in one single page, and control their Visible property. In that case, put a OnBeforePrint event in Page1, a…
-
I did the same, but it's not for beginners, and I will not give you any working example. Ok, here it goes: Do it by code from your delphi source. The secret is all about the objects at runtime, not the designer. Create/use 2 TfrxReports objects. …
-
Well, I'm out of ideas now. Sorry I can't help any further
-
Try this instead: LTabS := FTabs.tabs[LIdx];
-
Well, then: LTabs: TTabControl; LIdx: integer; ....... LIdx:=Â Â FTabs.Tabs.Add(frxResources.Get('dsCode')); LTabS :=Â Â FTabs[LIdx]; LTabS.visible := false;
-
Can't you simply do this? LTab :=Â Â FTabs.Tabs.Add(frxResources.Get('dsCode'));Â Â // I assume it returns the tab just added, or maybe its index LTab.visible := false; or LTab.TabVisible := false; Sorry, I don't have the source code, so I'…
-
TfrxMemoView has a property, SuppressRepeated, I suspect you have it set to true. I suggest you delete all your components in your MasterData band, and put new ones, and only set the dataset and datafield properties to see how it behaves. Start wi…
-
What is your 'onPreview'? is it a button on your form?
-
I think you should have 1 separate dataset for each of your groups. Then you will think: but it's 93K records, it will get too slow! Then you should use temporary or memory tables. I use to have something similar. The idea is: prepare all the dat…
-
I can't load your Fr3 file, it's giving me 'invalid file format' error. Anyway, try my DoTrim function like explained here: http://www.fast-report.com/en/forum/?p=/discussion/6677
-
I wrote the reply below without reading your problem properly, the answer described is for the extra fields ( ; ) separators, not the the extra spaces. Because I believe you also have the extra field problem, I'll leave the answer for that here: …
-
I suspect a problem with the variant conversions. Try this instead: var lFileName : string; begin   lFileName := Memo1.Text;   showmessage(lFilename); // just to debug it   Picture1.Picture.LoadFromFile(lFileName); end;
-
Whatever you put between the main begin (..) end. only happens 1 time, at the start of the report, so you only actually calculate MatrDesc 1 time. Put a showmessage(MatrDesc); there and you will see it only happens once. Put that code MatrD…
-
Is this your actual question? How to save or read the value entered in a memo?
-
It looks like you are not doing it in good time, try calling frxReport1.OnUserFunction := CustomReportFunction; frxReport1.AddFunction(...); as the last thing just before you call the show/preview methods. Otherwise, the only thing I can suggest…
-
Do you know exactly how to achieve that in Delphi code? If yes, all you need is to create a user function. For example, I have a function that removes the ending CrLf of the memo.text, called by me as 'DoTrim': In Delphi: frxReport1.OnUserFuncti…
-
What you want to do is difficult to achieve, but possible. The key is to fix your data before trying to reporting it. I'll try to explain here shortly: - Duplicate the data in your dataset. Make sure the data repeats all the records for each cust…
-
Now its' cleart to me. Forget your approach of 2 pages/2 sets of objects, you only need one, but all you need is to foce a new page when the records reach 15 items, right? In the report script: var recordsprinted : integer; MasterData1OnBefo…
-
Coloca uma 'Header' band antes do MasterData. Coloca um 'Footer' band depois do MasterData. Essa e' a banda que tu quer colocar teus componentes de fim de pagina. Ajusta a 'Header' inicial pra altura = 0, e pronto, ela nao aparecera, enquanto a Fo…
-
Well, if I had the Enterprise version like you do, I would recompile the FR components making sure they have all debug information, and put a break point in the line where you call the print preview dialog boxes, and by entering the code (F7) try to…
-
I don't know how to do exactly that in the designer, but to have the desired effect at runtime, create a 2nd page, drop your repeated components there (i.e, remove from the 1st page as you showed in the example), and set this 2nd page property Print…
-
procedure Band1OnAfterPrint(sender); begin TFrxBand(sender).visible := false; // as this is done AFTER the 1st print, it won't print again end;
-
Test this carefully, might not display correctly under some circumstances (try with lots of records in the dataset): procedure memo1OnAfterData(Sender: TfrxComponent); var   lTxt : string; begin   lTxt := VarToStr(Value);  // lTxt is not req…
-
never mind, I didn't see the answer, ignore this post
-
In the customer area -> downloads, look carefully, there are 2 set of files to download, the STABLE one, that you probably have, and the CURRENT one (or daily). Try the Current, and if that doesn't fix you problem, open a support ticket for it.
-
Mwore, I sent you a private message, please check your forums profile inbox. Cheers
-
I just upgraded to Delphi 2010. I'm afraid I don't have the same problem as you. When I open your FR3 file, I get 151.2 MB of usage for the entire process (Delphi), and scrolling up and down hundreds of times only gives me some peaks of 172MB, noth…
-
1- Get the latest version, 4.9.xxx from today (KEEP A COPY OF THE INSTALLER FOR THE VERSION YOU ARE USING NOW, because if 4.9.xxx introduces any bugs for you, you can revert back) 2- If it still doesn't work, open a support ticket for that, the rep…
-
Yes, Please!!! I'm sure it's needed by a lot of developers that want to replace the not-so-efficient TfrxRichView. My opinion: if this component is crucial for your own systems, you could accelerate bug identification and fixes and general improve…