digitalmetaphors
Comments
-
The detail band will print once for every record in the dataset. You need to
place all of the controls in the detail band so that you can print the data
this way in one detail band print. Since the number of fields is constant,
then … -
There is no try except construct in RAP. You'll need to write a pass
through function to perform any try except functionality in Delphi code.
Cheers,
Jim Bennett
Digital Metaphors
-
Yes, you can create search criteria in DADE without specifying it as
autosearch. There should be an Autosearch check box when you create the
criteria object in the query designer. If this is unchecked, then you have
a search criteri… -
You need to extract the TdaSQL object and insert them. A link to an example
is below. Let's assume we've extracted the SQL object and have set the
criteria values. Now we can insert the parentheses and OR.
{set order no. sea… -
Sorry, this won't work. The way that the RTTI works is that the RTTI
manageer works up the hierarchy to find the RTTI class. The architecture is
such that you can only replace the lowest level RTTI, such as
TraTppDetailBandRTTI, not T… -
Since RAP doesn't support records, you'll have to break the record structure
up and surface four individual properties in RAP through the RAP RTTI class
that you create. They would be PrintPosLeft, PrintPosRight, PrintPosTop,
and Pri… -
Thanks for reporting the issue. Unitl the we get this fixed in a future
release, you can workaround the issue by using decimals, such as setting the
value to be 5000000000.0
Cheers,
Jim Bennett
Digital Met… -
Here is a modified example to handle KeepTogether:
http://www.digital-metaphors.com/tips/SubreportTotalsInMainSummary.zip
There is a technique which uses variables in the detail subreport and in
conjunction with variables in the main report to print totals in the summary
band. You can use the same approach to print to variables in the footer
band of the…{$DEFINE Enterprise}
{$DEFINE Pro}
These are already in ppIfDef.pas...
--
Cheers,
Tom Ollar
Digital Metaphors Corporation
Did you change the source to RB? If so, you will no longer be able to
compile apps which contain RAP.
--
Cheers,
Tom Ollar
Digital Metaphors Corporation
You'll have to create a pass through function to call this routine from RAP.
There are demos of creating pass through functions in your installed
RBuilder\Demos\0.RAP directory.
Cheers,
Jim Bennett
Digital …What are really trying to do? There must be an easier way. Maybe you could
use a JITPipeline so that you can control the records which print in the
report.
Cheers,
Jim Bennett
Digital Metaphors
If there is something that RAP isn't aware of, then you can create RAP pass
though functions to call Delphi code to execute it. There are RAP pass-
through function examples in the RBuilder\Demos\0.RAP installation
directory. If RAP …It is probably going to be easiest to code utility routine sin RAP that can
draw on the canvas TObject parameter of your event. Then you can generically
draw from RAP onto the canvas by passing them through to the delphi pass
though f…No, the WIN API is not available in RAP. You can create RAP pass through
functions to make calls on it from Delphi.
Cheers,
Jim Bennett
Digital Metaphors
There should be no difference when printing to the printer or to the screen.
The report should generate the same. One solution is to set
Report.CachePage to true and then the cached pages will be sent to the
printer instead of being …We sent the patch to you:)
Cheers,
Jim Bennett
Digital Metaphors
Thanks for reporting the issue. Send an email to
support@digital-metaphors.com and we'll get you a patch. The Rap RTTI for
this event was not declared.
Cheers,
Jim Bennett
Digital Metaphors
You have to set the datatype property of the variable. The default datatype
is string and this will result in a value of zero when you are trying to use
it as a numeric variable.
Cheers,
Jim Bennett
Digital…Use RAP. I would code it in Delphi first to make sure the approach will
work and then copy the event handler code to RAP, You can use TppVariables
to perform the statistical calculations based on the DBCalcs values. The
DBCalcs shou…This was a bug in the initial release of RB 7 for D6. We fixed it when we
released RB 7 for D5, and D7, and at that time we rebuilt RB 7 for D6.
Download the latest version dated 9/18/2002 and the problem should go away.
C…Sounds like you have multiple versions of the same rb*.bpls on your system.
Can you build our RAP demo with runtime packages? It works in tests here.
Check you machine for all old bpls and dcps and you may want to follow the
corrupt i…You'll need to create a RAP pass through function to do this. There are
examples of creating pass through functions in your installation:
RBuilder\Demos\RAP.
Cheers,
Jim Bennett
Digital Metaphors
You can use the OnLoadEnd event. On your form, there is a report object
with a single template object embedded in it. The template object is used by
the report designer to load and save templates. You can assign an event
handler to …Assign the Report.Template.OnLoadEnd event to set these properties or set
these properties before you call Report.Print. RAP events won't work
because RAP events fire after the Report.Print method has been called and
the report has a…If there is an error in RAP, it will be handled by the report when you are
previewing the report as an end user. You can also hit Compile and it will
compile the event handler that you are currently viewing in RAP. What
errors are yo…You can create a RAP pass through function to work like the main reports
demo #124 which prints a list of pages. There are demos in the
RBuilder\Demos\RAP directories on creating RAP pass through functions to
help you out.
The reason you can't call this from RAP is that end users might call it too
often. You don't want to check this unless you have to. The reason is that
it returns all the records from the dataset in order to determine the count.
This i…Interesting, that should work. Please send an example report to
support@digital-metaphors.com and I'll take a look at what is causing the
problem.
Cheers,
Jim Bennett
Digital Metaphors