rbuser
Comments
-
You can loop through the controls on a subreport in a similar way that you
loop through the controls of a report. In fact, I don't think that just
looping through the report bands will reach the controls on a subreport.
Here is … -
Accidentally replied to Support directly not this thread (sorry). Here is
the outcome:
Section reports always print first in z-order, followed by any child type
subreports. So it is not possible to get a child subreport to print… -
Hi, Jim !
Thanks for example.
But if I changed property ppSubReport1.KeepTogether := True report was
generating incorrect.
Try it.
Roman K.
-
Jim !
I calculated totals in BeforeGenerateSummary like this:
procedure TForm1.ppSummaryBand1BeforeGenerate(Sender: TObject);
begin
vCSumOfAmount.AsDouble := 0;
vCSumOfTotal.AsDouble := 0;
tb… -
I am using TppVariables and OnCalc events.
Please look at examples in attachment.
There is grand total calculated in OnCalc event handler (in RAP code) and
control grand total calculated in SummaryBeforeGenerate
( in Delphi code)… -
Hi Leo,
I have no time (I'm a developer ;-)) but send it anyway to my private email address (pls remove the NOSPAM part)
regards,
Chris Ueberall;
-
Hallo Chris,
Thanks for the reply!
This error occurs even on tables that have no indexes at all. Besides, I
have checked the data integrity. As for the buggy paradox, we have been
developing our applications over 13 y… -
Hi Leo,
reindex your Paradox table (did you ever think about replacing that buggy "database"?)
HTH,
Chris Ueberall;
-
Found the problem along your suggestion.
The detail query I have itself has a left outer join. The link field I
specified in the pipeline was the field from the table that was being joined
as opposed to being from the table on … -
Yes.
-
Upgraded to RB 7.
The pbSection Subreport still prints off the margins
-
I guess I left one detail out....
the subreport type is set to pbSection...... Does this change your
previous suggestions, or should I pursue using the group header and footer
-
Also,
I forgot to mention that the Memo is set to stretch, and the subreport is
set to Child
Hope this provides more insight.
Thanks again,
Clinton
-
Excellent! Thank you, Jim.
-
Is it posible to have the same Header in the main and Sub reports ?
Mario Brazil.
-
Hi Jim,
It work.
I use a ppVariable on main detail report and another ppVariable on detail of
subreport;
The main variable is incremented on OnCalc of the second one;
The problem is to find the event (that … -
Hi Jim,
you are correct;
but the summary totals are always correct (like example);
The problem is only on the footer of main report;
I have use this method (like you suggest me);
I have a ppVariable1 … -
Hi Jim,
thank you for fast response;
(sorry for the direct email, I have clicked on Reply...)
I already use Tppvariables for this and those works well;
The totals into summary are always correct;
The … -
Forgot to say I'm changing the BinName in the OnStartPage event
-
Thanks Jim that worked a treat but it lead to another error.
I put the code in the LoadFooterSubreport proc, opened the report,
switched to the dynamic footer template tab and then clicked preview.
This time it did find th… -
What I am trying to do at runtime is looping through the TQuery.SQL
statement for each student and putting the results in that student's
subreport. So Student A's reusults go in subreport1, student B's in
subreport 2, etc.
-
Hi Etienne,
please provide us with exact informations, 'crashing' is kind of vague.
Error message or error number?
What code raises the error?
Use the internal debugger to find the problem.
regards,
Chris Ue… -
Thanks Jim-
Actually, I tried this and the problem is that I got a page break both
before and after the record in question. So, to get around this, I used
this logic:
procedure VariableOnGetText;
begin
cu… -
Jim
No - default
How do I tell?
No
The problem was circumvented by replacing the nested subreport with ppMemo
which has its height reset and lines loaded in BeforeGenerate. I … -
-
-
-
-
-