rbuser
Comments
-
Hi Mauro,
create a pass-through function should help. One the used methods or properties aren't wrapped to RAP RTTI.
HTH,
Chris Ueberall;
-
Jim,
do I need to use the DetailAfterPrint event to set the value for the
variable in the footerband?
Jeroen
-
> The OnCalc may fire more than once, however, because the values are cached
Well, in our case we have a sum variable positioned in a group band
and a calculation started in the OnCalc of the detail band and it
becomes
o… -
Blake,
the source is the documentation, see 'ppDB.pas - TppDataPipeline'.
property FieldObjects[Index: String]: TppField read GetFieldObjectForAlias;
my help file is from ReportBuilder 7.01.
regards,… -
I tried to find documentation for FieldObjects but could find no referece.
What is the name of the topic that documents the FieldObjects collection????
And, is there an updated help file available?
Thanks
Blake<… -
Hi Blake,
You can use the following ...
myDataPipeline.FieldObjects['myFieldName'].IsNull
... to test for NULL values.
regards,
Chris Ueberall;
-
Hi Bruce,
create a pass-through function or use something simpler than 'FormatString' e.g.:
var
s : String
begin
s := Trim(Copy(plBatch['BatchNo'],1,4)));
Value := Copy('0000', 1, 4 - Length(s)) + … -
To DM:
Is there a webspace for sharing RAP pass-through and RTTI components?
chris
-
Yeah, that?s agood idea! I am willing to share our PTFs too.
Bernd (dato)
others
can
-
Hello,
why not.
I have documenmted all function (incl. my passthrough) in the web.
http://www.eulanda.de/inside/pascal/Default.htm
One is to execu… -
Done
Petr Slipek
Dosli
"Nard Moseley (Digital Metaphors)" p?se v
-
To avoid AV, I removed glParams.Free in RAP and I added logging for
glParams[0] before execute pass-through function and for logging lParams[0]
in Delphi ExecuteFunction. And as you can see, delphi function always
receiving older reve… -
Hi,
I tried new empty report and it doesn't help. I used CodeSite to see what is
happening. I modified RAP code to:
****START
procedure Variable1OnCalc();
var
glParams: TStringList;
begin
csEnt… -
Hi Petr Slipek,
sorry, but I have no idea what causes the AV on your side. If I pass nil the functions returns immediately as it should.
You tested with a new report so there should be no other call before the stringlist is cre… -
Thanks for your time,
I tried, but it shows correctly. Another thing is, that I have ppViewer,
ppReport, ppDesigner on one form. Before calling ppDesigner.ShowModal i
preview report in ppViewer. Can it be in conflict with previe… -
Petr,
I tested your pass-through function without any AV!
Message1 was always shown before Message2.
I would place additional messages for 'Create' and 'Destroy' of the stringlist.
Use a new report.
HTH,
After some investigation I has an idea what is wrong, but I am not sure if
it helps.
If I modified rap code for Variable1:
*********** START RAP************
procedure Variable1OnCalc(var Value: Variant);
be…Hi,
I forgot to write that it failed only on the first attempt to show preview.
Second time is all ok.
Petr Slipek
Dosli
Hi,
I tried your sugesstion and it works with one exception. I created class
TdoExecuteStringFunction as described in help with TStringList parametr.
When I preview the report - code executes OK. But if I run end-user repo…Hi Petr,
use a 'TStringList' or a 'TList' as ("open array") parameter.
HTH,
Chris Ueberall;
Scratch this one.
After a hard search, I found that becuase of using class complete when
writing my new class, Delphi had inserted an "inherited" in the overriden
procedure ExecuteFunction. When i removed this, everything was ok…Thanks,
I managed to solve it with the RangeEnd and RangeEndcount.
I set them from RAP code, on onPrint of the Subreport where the Pipeline is
used, and it works perfectly fine.
Paul Wiik,
Lynx Technologies.
BTW: I've seen the other posts on Top-N and Bottom-N records. They suggest
using Properties of the DataPipeline or an SQL function.
I don't think I can use this because the top ten that I'm "filtering" are a
expression that gath…Chris,
Thanks for your reply.
I will try to do as you suggested and will be back for more help :-).
Regards
Paras
---Message snipped-------------------
Hi paras,
How about loading the DLL once (initialization or delayed loading on first request)?
I recommend to design all reports during runtime! (you still can register the RAP pass-through package into Delphi's IDE)
Thank you.
> Is is possible to load a standard TeeChart with data through RAP?
We solved this by extending RTTI:
- Published a SQL-Query component to RAP. We use DOA, so we published
TOracleQuery. This might not be necessary for you if you ar…thank you very much!
now I try to use your solution.
Bye
Nicoletta
Wouter,
Thanks!
I wanted to avoid having to customize the searchform, because we have
already made our own customized version of this (to make it work/look the
same on the web).
I guess I'll find a way. May…Paul,
My problem was with an SQL statement (DADE SQL), and another (fixed) DADE
SQL. Only the second SQL statement had to have the same date range of the
first.
In the OnGetSearchValues event, I did the following