nardmoseley
Comments
-
1. You need to use a TppVariable and the TppVariable.OnCalc event to perform
calculations. Please see the Calculations thread of the Tech Tips newsgroup
for some general guidelines. There is a Calculations tutorial in the
Develo… -
1. Check out RBuilder\Demos\RAP\Main for some examples of creating RAP
event-handlers via code.
2. Here is an example that shows how to iterate over the RAP programs and
modify them....
www.digital-metaphors.com… -
Another alternative is to use a Summary band and set its PrintPosition
property so that it aligns itself to the bottom of the page.
--
Nard Moseley
Digital Metaphors Corporation
www.digital-metaphors.com
The RAP language does not support bitwise operators. You will need to write
some custom RAP functions to do that.
--------------------------------------------------
Article: Extending RAP
----------------------------…
Try the same code from Delphi first, its easier to trace in the debugger
that way. And as a first step, execute the code prior to calling
report.Print
1. RB 9 introduces some new events to allow preparing data from RAP. Th…
One of the cool features of autosearch is that you can customize it by
creating
custom autosearch panels that build specialized UI's for specific fields in
your database. For an example, check out RBuilder\Demos\AutoSearch\Custo…
Try using veTraversal rather than veDataPipelineTranversal
--
Nard Moseley
Digital Metaphors Corporation
www.digital-metaphors.com
If you want to create a simple, minimal example using that demonstrates what
you are trying to accomplish, we can check it out here. Use only standard
Delphi components, and the DBDemos data. Send in zip format to
support@digita…
For RB 9 the TppVariable has been enhanced to better support placing a
Variable in the Footer band. Particularly when you have a dynamica height
detail band, there are issues in which the Variable.OnCalc can fire prior to
determ…
What is the goal? Are you trying to replace the name of an existing table or
add a table join?
The TdaSQL object and TdaSQLBuilder work very much like the QueryDesigner.
When you add a table, you need to add fields…
1. Cancel a report from RAP. You can use the Report.OnInitializeParameters
event. Set the Cancel parameter to True.
2. A NoDataReport can be produced by configuring the Report.NoDataBehaviors
property.
-…
Use the Report.OnGetAutoSeachValues event to access the AutoSearchField
values entered by the user and then apply them to the second query. RB 9 has
a new TdaSQLBuilder class to facilitate modifying the TdaSQL object. The
Tda…
RAP does not support arrays. Use TStringList or TList (RAP knows about those
classes.)
--
Nard Moseley
Digital Metaphors Corporation
http://www.di…
ReportBuilder 9 has a new Report.OnInitializeParameters event that fires
earlier than any of the events in RB 7. There is also a new
Report.BeforeOpenDataPipelines. These events were added to enable reports
and data to be int…
Sometimes RAP has issues parsing nested expressions. The work around is to
use some intermediate variables (either local or global).
I tried the following test and it worked in my testing.
1. Declare two RAP global …
Thanks for sharing this!
--
Nard Moseley
Digital Metaphors Corporation
in Debuging RAP code Comment by nardmoseley September 2005
RAP does not contain support for arrays.
You can however use a TList or TStringList. And you can declare new classes
and make RAP aware of them via RTTI (see number 2 in the article below).
Therefore you could create a c…
I coded the event-handler in RAP...
--
Nard Moseley
Digital Metaphors Corporation
http://www.digital-metaphors.com
The OnDrawCommandClick event works correctly in my testing here.
Place a MessageBeep call at the top of your event-handler, it should be
firing.
As a test I created a report with a shape in the header and a single l…
What are you trying to accomplish?
We do not have any examples of calling RAP programs from Delphi.
The ReportBuilder source code contains numerous examples of components such
as Label and DBText that fire RAP event-…
See RBuilder\Demos\RAP\ for examples and tutorials of how to do this. The
tutorials are included in the RBuilder\Developers Guide\RBuilder.pdf.
(We are researching the other issue that reported above...)
--
The approach I would try is to create some global Delphi functions that you
can call from your Delphi code. Then create RAP pass-thru functions that
call those same functions. That way you can call the same functions from
nat…
You need to use TppVariable components and the TppVariable.OnCalc event.
See the Calculations thread of the Tech Tips newsgroup for an overview of
how to perform calculations. Also see the Developers Guide and Learning RAp
The following article explains how to you canadd new functions to the Code
Toolbox...
--------------------------------------------------
Article: Extending RAP
-------------------------------------------------…
Here is a Delphi code example that shows how to calc the remaining page
space available. First work on a Delphi code solution and you can then adapt
it for RAP by adding one or more custom functions (see article below).
…
One option is to try using one of the new events that we added for RB 9.
Report.OnInitializeParameters or Report.BeforeOpenDataPipelines.
The other option is to set Report.Engine.Page.PrinterSetup from the
BeforePrint ev…
An 'abstract' error means that your descendant class does not implement one
or more 'abstract' methods declared in an ancestor class.
The TppDataPipeline and TppCustomDataPipeline classes are ancestors declared
in ppDB…
ReportBuilder 9 contains significant enhancements to the RichText MailMerge
feature. You can merge fields from any datapipeline and specify display
format strings.
Here is a flash demo
in Using fields in one table to define a query from another table Comment by nardmoseley August 2005
BeforeAutoSearchDialogCreate will only fire if you defined autosearch
criteria using the query designer. You can use this event to set
Report.ShowAutoSearchDialog to False.
We made enhancements to RB 9 to specifically im…
ReportBuilder 9 includes some new features that enable RAP to be used to
modify queries
- there are two new events that were added to facilitate initializing
report parameters and modifying SQL: Report.OnInitializeParam…