rbuser
Comments
-
Jim,
Wow, thanks for the info...You've given me several good options.
John
-
In the OnPreviewFormCreate of the report use:
MyReport.PreviewForm.WindowState := wsMaximized;
TppViewer(MyReport.PreviewForm.Viewer).ZoomSetting := zs100Percent;
and include the ppViewr unit in your uses clause.
I tried to reproduce the wrong behaviour with the dbdemos database but all works
as expected, calculations are perfect!!
Don't know what can be wrong, the dbdemos test i made has the same logic and
calculation than the real wrong appl…I'm sending you the current files in order to see if i have something wrong...
send you an example with the DBDemos database ASAP.
bye
What files do you need? I can send you the .pas and .dfm files, there are the
OnCalcs, dataset and pipelines.
Is that enough? Send it via mail?
thanks for your help
Ok, i have the same answer in the group and in the summary... but both are wrong!
If i export the report to excel and check the values, both are wrong.
The situation:
Have fields A, B and C.
I need two totals in the group f…OK, i'll try it... but have a question. Why is that, what's the difference
between group end and group start?
thanks
Just guessing.. is your query Ordered by month?
Thank you for your prompt response.
Chris Vattaks
Justin:
Just as Martin said: create a sub report in a TppReport, load each report
into that. I do this. Here is an edited versio of my code:
procedure LoadSubReport(aReportID: integer);
var
lSubReport: Tp…Hi,
I know there is a way.
What you do in principle is create a subreport with PrintBehaviour
pbSection for each ot the parts and add it to a "master report". You use
SubReport.SetReportProperty(PartReport) to…The exporting process to text files doesn't generate repeated records, only
the waler's excel filter.
It must be a RB error because native text file output generates an empty file.
The .raf in the other hand is generated properly. Only when i hide the footer
the exporting problems raises.
By the way, how can i have a never reset variable in a two-pass report?
If i don't set the band's visible property to false but instead set the same
property to false to all the components inside the band all works fine.
I'll try what you say in order to know if it's a RB or a Waler problem when the
bands…The problem raises with the first record of each page when the footer band's
visible property is set to false.
I can't export the report with the footer band because it'll cause the Excel
data to be divided with all the the data in th…My problem was about timing... i have the Calc OnGroupEnd and OnReportEnd,
OnTraversal works perfect.
thanks
Drag it outside the report
1. Place a pparchivereader on a form.
2. Set its file property to the raf file you have
3. Execute the pprafreader's print method.
Steve B
It doesn't work directly because the dbcalc calculates itself with the detail,
so in each detail calculation you'll result dividing by the current acumulated
value but not for the report total.
thanks
You could place a dbcalc in the header of your group , set lookaheaed
property true and use it to div each value.
If you don't wanna show it in the header make it visible := false;
fd
YEs, but i needed to use a trick. On the first pass of the summary variable i
acumulated the value in a private delphi variable. Then, in the second pass of
the detail variables i used the delphi variable.
I can't use the value of the…See my thread named Another report with funny variables.
It can be helpful
You have to do it outside of the report. You might want to look at a 3rd
party grid, such as www.devexpress.com
Ed Dressel
As far as i know the only way to do it is to previously sort the string
grid itself
Kesten, there is a SkipWhenNoRecords property which is applicable on the
detail datapipeline, whereby this should cause the master datapipline to
skip to the next record. The end result is that no master data is printed
for the empty …Hi Bernaert...
You can use the AutoSearchFields of RB to set these criteria. From inside
RAP you can set the criteria in the OnCreate event with
Report.AutoSearchFields[x].SearchExpression := Value.
The "x" stands for the p…Solved the problem easily after setting up a debug environment.
It was the Oracle logon. It appeared because the TNS-connect name in daDOA
is case sensitive:
If you create a report in RB accessing data on the TNS name "MyTNS", a…Thanks Jenny
Thanks marc
Ben
S.Ben a ?crit dans le message :
8EAE82296ACCD311A039005004E0CAC005AA12@DMSERVER...