digitalmetaphors
Comments
-
I remember coding an event for the paint box component, before adding the
canvas parameter, but I can't seem to find that project. I have moved from
two machines since I worked on that project.
If you place breakpoints in the me… -
Did you register the TraTWGridLinesRTTI class?
initialization
raRegisterRTTI(TraTWGridLinesRTTI);
finalization
raUnRegisterRTTI(TraTWGridLinesRTTI);
Cheers,
Jim Bennett
Digital Metaphors<… -
If they are in the same band, then use the variable's CalcOrder property to
order the variables so that they calculate in order. If that doesn't help,
then check that the datatype on the variables are correct. If you have a
string va… -
Hi Rene,
No, we would need to debug a simple application using non-confidential
(demo) data. Are there any event handlers for this report? If yes, what are
they doing? Can you disconnect them unti lthe problem goes away? This is… -
No, that is not normal! We have not expereinced this behavior nor heard any
reports of this problem. Could you send us a simple demo report which shows
the problem to support@digital-metaphors.com
Cheers,
Jim Be… -
There is an example of customizing the end user search criteria when using
DADE in the autosearch demos directory. The code is in Delphi code, but you
can adapt it to be used in RAP. You'll need to write RAP passthrough
functions in o… -
Try this demo's approach. It can get tricky and this technique is a
workaround to the limitations of other techniques by using the report output
from the engine after the report engine has done its job.
in Totals in footerband Comment by digitalmetaphors March 2003 -
This is a known issue, as the report fires the OnCalcs when the report
generatest he bands and then has to back up to support the keep together.
The footer band does not participate in the KeepTogether scheme so its
variable is not re… -
That setup should work. Are the values stored anywhere else other than
TppVariables? Can you send a simple example to support@digital-metaphors.com
Cheers,
Jim Bennett
Digital Metaphors
-
Hi Christian,
The OnCalc may fire more than once, however, because the values are cached
by the report engine, it should work. If you do not store the value in the
variables, then it may become out of sync with the cache manager… -
Global programs are global for the report and across subreports. Programs
are for the individual reports (Subreport.Report). You should be able to
call GetDatamodule on the Subreport.Report object to get the subreport's
code module. … -
In RAP, set the Subreport.ExpandAll property to true in the report
BeforePrint event. If you are in a nested subreport, then use the
StartFirstPass event in RAP.
Cheers,
Jim Bennett
Digital Metaphors
<… -
Sounds cool. We could also consider a 'binaries' newsgroup in which the post
body would include a short description of what the function does and an
attachment for the code of the single pass through function. This way anyone
can easi… -
You have to order by the field that you want the TopTen to be based on. Then
you can set the Report.Datapipeline.RangeBegin, RangeEnd and RangeEndCount
properties. That should work if the first ten records in the dataset are the
top t… -
I assume that REC1 is a master record and that the subreport is set to
traverse left to right. The a, b, c, d are records of the detail, which you
want to print in predefined columns on the page. This may be possible. You
can try sett… -
Try it in Delphi code first, then port it to RAP. You may have to create a
RAP pass through function to implement anythign that isn't currently
surfaced in RAP. If the second query has DADE defined autosearch criteria
objects ont eh d… -
Here is the FillPageWithLines tip implemented to work in RAP, along with
some other PTF to help create draw commands in RAP:)
http://www.digital-metap… -
I'll have to adapt the draw command demo to use RAP. Draw commands are
problably the way to go on this one, because they can be added after the
page has been generated by the report engine, but right before the page is
sent to the dev… -
Since you manually set the footer's print position, you can use the
PageStyle band to print lines behind it in that space. The PageStyle band
prints behind all other bands on the page. This would require no RAP code.
Alternative… -
The reason that the first compiles and the scodn does not is because RAP
only knows what is published in Delphi, or what TraRTTI classes tell it.
TppDimension publishes FieldName as a property, while TppElement does not,
as TppDimensi… -
There is no RAP RTTI classes defined for TppRowDef. If you want to check
this class you can create a TraTppRowDefRTTI class and register it. Or you
can create a RAP pass through function that check the class type and returns
a boolean… -
There is a bug at delphi design time if you edit the SQL text. You'll have
to edit the SQL text at runtime to work around the problem.
When you do edit the SQL text, you will lose all the query tool support,
because DADE genera… -
RAP does not support a try except finally construct.
Create a RAP pass through function to make any calls that you want to have
using a try in Delphi code. There are examples of creating RAP pass thorugh
functions in your instal… -
Call Report.GetAutosearchDescriptionLines:)
You can also loop through the report autosearch fields and reference the
autosearch field properties. See the TppAutosearchField topic in the help
file for more info.
Cheers… -
1. I would try to parse out the provider entry in the connection string.
The provider is going to be different for each of the ADO drivers. For
example on my machine, if I connect to MS SQL Server using the OLE DB
provider, the provid… -
1. The crosstab renderer class generates the crosstab based on the matrix
that the crosstab engine creates. What you'llhave to do is create your own
crosstab renderer to control how the matrix is printed. Create a copy of
ppCTRend.pas… -
1. The crosstab has its own data traversal engine. This means that you do
not want to connect the report that it is located in to the same
datapipeline as the crosstab.
2. Please take a look at the crosstab demo in the installa… -
Take a look in the main reports demo project. Demo #121 does this.
Cheers,
Jim Bennett
Digital Metaphors
-
Please do not repost. If you want to rephrase a question then reply to the
original thread or cancel the previous post. Thanks.
Take a look in the main reports demo project. Demo #121 does this.
Cheers,
Ji… -
Try creating the parameters statically in the report as the first test
before trying to add them dynamically to the report. See the
TrsClientReport.ReportParameters
topic in the RB Server help file. Essentially, if you want to add a