nicocizik
Comments
-
Hi Ruud,
For a subreport, you will want to initially get the code module of the child
report rather than the main report.
lCodeModule := raGetCodeModule(ppChildReport1);
{event-handlers}
for liIndex … -
Hi Jean-Marc,
In the BeforePrint event of the band that contains the header label, you can
check to see if the field in NULL and toggle the visibility of the label
accordingly. See the following article on how to check for nu… -
Hi Walter,
The TStream class is not natively supported in RAP. One option is to create
a pass-thru function to create and access this class. See the Developer's
Guide and RAP demos on how this can be done.
Another… -
Hi Bill,
We're going to need more information on how this custom dialog works to
track down the issue. How exactly is it selecting data? Which parts of
ReportBuilder is it utilizing to do so? What happens when the cancel bu… -
Hi Olaf,
Thanks for the clarification. Unfortunately you cannot pass a StringList as
a parameter to RAP.
Which version of ReportBuilder are you using? In my testing with RB 11.07,
setting the value of a parameter … -
Hi Olaf,
The TStringList object is supported in RAP. You should be able to use it as
you would in Delphi
s := TStringList.Create;
s.Add(...
s.Add(...
... := s.Text;
--
Regards,
… -
Hi Tom,
Take a look at the following article/example...
http://www.digital-metaphors.com/rbWiki/Design… -
You need to be sure (for instance) that the rtl.dcp is dated 02/15/2002 and
the rtl60.bpl is dated 5/22/2001. If these files and the others installed
with SP3 are dated 03/20/2003, they are the wrong version.
--
Regards… -
Hi Brenden,
Have you tried re-installing Delphi 6? I believe we have had issues with
this in the past. Simply re-installing does not remove all the SP3 files.
You will need to uninstall your current version, check to be sure… -
Hi Brenden,
The error indicates that the version of raCodMod installed on your machine
was not compiled with another .dcu that Delphi is trying to use. Check your
library path to be sure there are no old RB or other files lin… -
Hi Petter,
Try getting this to work correctly in Delphi first, then move the code to
RAP. This way you can trace into the event handlers and see the actual
values being returned by the datasets. Also you may want to use the … -
Hi Tim,
In my quick testing with the DBDEMOS database and RB 11.07, this worked as
expected.
http://www.digital-metaphors.com/tips/Va… -
Hi Tim,
The problem is most likely the calc order in which the variables are
calculated. You need to be sure the TotProstate and TotNotProstate
variables are calculated before you try to use their values in another
calc… -
Hi Marion,
Yes the documentation in this area of RAP can be sparse. We will try to
improve it in the future.
The following rbWiki article uses the TraProgram.Source property to alter
RAP functions.
Hi Marion,
Access the TraProgram.Source property to see and alter the entire routine.
This includes the signature, declarations, and body.
--
Regards,
Nico Cizik
Digital Metaphors
in traprogram / travariableValue Comment by nicocizik February 2010Hi Mark,
http://www.digital-metaphors.com/rbWiki/RAP/Fundamentals/Check_for_IsNull
--
Regards,
Nico CizikHi Marion,
Try setting the ChildType property of the TraProgram to ctGlobalProgram.
You will need to add raTypes to your uses clause.
Different ChildType enumerations...
ctConstProgram:
ctVarProgram:
…Hi Marion,
The OnClick event is not designed to differentiate between "front" and
"back" report components. ReportBuilder created the clickable area based on
when the event is assigned (first in the z-order).
To wo…Hi Marion,
This is working for me.
1. Download the RAP example from the rbWiki article.
in sendtoback Comment by nicocizik February 2010Hi Marion,
I suggest you get this working in Delphi first then try moving it to RAP.
In my testing with Delphi code, it worked as expected.
My first suggestion for changes to your pass thru function would be to pass
Hi Marion,
Try resetting the TppReport and the TppReport.Engine before setting
RedrawPage to true. Similar to what is done in the following example.
in sendtoback Comment by nicocizik February 2010Hi Roald,
Instead of using a footer in this case, perhaps try using the Summary Band
with the FooterBand.PrintOnLastPage := False.
--
Regards,
Nico Cizik
Digital Metaphors
in Dynamic footer questions Comment by nicocizik February 2010Great! Glad you got it working.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
> Ouch! Please consider it.
The limitation can currently be worked around by creating a simple pass thru
function.
Do you perhaps mean the Report.AutoSearchFields[].Value property? This is a
read only prop…Hi Jeroen,
This is currently a limitation of RAP. We are strongly considering adding
this capability for the next major release of ReportBuilder.
--
Regards,
Nico Cizik
Digital Metaphors
Hi Jeff,
If you are looking for a written list of all functions available to RAP,
take a look a the ReportBuilder RAP Reference in the help. The "Reference"
section gives all documented RAP functions.
--
Rega…Hi Jeff,
You could use the same method in the example to do this. The example
already loops through each RAP program and retrieves the RAP code as a
string. During this process, you could search for any key words and add
Hi Michela,
Try making a call to Report.Cancel. This will cancel the printing process
once it has a chance.
--
Regards,
Nico Cizik
Digital Metaphors
Hi John,
You should be able to use the Copy routine in RAP to get the result you
need. Something like the following...
lTenthChar := Copy(MyString, 10, 1);
--
Regards,
Nico Cizik
Digital …> Is there any system variable published in ppreport or pppage that exposes
No there is no built-in variable that logs execution time, however it may be
possible to use the report or device events to time them yourself.