rbuser
Comments
-
not 2%... 98% of 53,17768 are 52,1141264
-
Nico Cizik (Digital Metaphors) schrieb:
Hi Nico,
it was my mistake. The value 53.18 was a rounded value (display format).
The exactly value was 53,17768. 2% of 53,17768 are 52.1141264, which
results rounded 52.11.
So… -
This works perfectly. Thanks.
-
Hi Nico,
The Datatype is set to dtString. Actually if I use the onCalculate event of
the variable I am setting to set the Value it works fine. It is just when I
try to set the Value of one variable from another variables onC… -
I have added a file logging function to my RAP code. The following is the
Delphi code:
class function TLogMessageFunction.GetSignature: String;
begin
Result := 'function LogMessage(Report: TppReport; msg: string): boolea… -
Did u put this event-handler in Delphi or RAP Calc Editor? My issue is
occuring if I use the RAP Calc Editor... if I use Delphi event-handler, it
works correctly...
David
-
Sorry, I think I wasn't clear enough.
I meant that I would like to call a RAP function from Delphi, like this :
var
MyProgram: TraProgram;
MyResult: string;
begin
MyProgram := Report.CodeModule.F… -
Many thanks, it works nice

Regards,
Goran
-
> Here is a Delphi code example that shows how to calc the remaining page
thank you!!!
all work ok!
TEcosoftFunction = class (TraSystemFunction)
public
class function Category: String; override;<… -
> what the last record will be. Also you can try checking the
to
Thank you!
I'm try this way in my case with dynamic height band, but
DetailBand.OutOfSpace
always false!
May be I can calculate last recor… -
Hey, that is cool. I did not know RB9 had this feature. It's just what I
need. Thanks.
-
Thanks for the info. I'll play around with that and see if I can get that
to work.
In terms of future update requests, is there any chance of having an
RichText component like the RBAddOn one that allows merge capability? Th… -
I should have mentioned that although I have a license for RB9, this
particular application is using RB7. I can't move up to 9 right now because
many of its reports are using RB-AddOn components which I am told do not
work under R… -
Thank you Ed.
Worked just perfectly. Would have never been able to figure that one out
for myself.
Thanks again for the function. Very much appreciated.
Bill Brittain
-
Thank you Ed.
I will try it tonight.
Bill Brittain
-
I would create a RAP pass through function that returns the record count of
a pipeline... actually I have one:
TetdPipelineRecordCount = class(TraSystemFunction)
public
class function Category: string; override;
I'm not sure what you mean by taking RAP COMPLETELY out of the picture. I
have another report that uses the same pipelines, but does not have any RAP
calculations at all. It is a shorter report. It does have many calc
variables,…The template was originally created in RB6, but I have saved it again after
loading it in the designer. The template does say Version = '7.04'.
Also, I have my settings set to save the report templates as ASCII. Should
I be …Here's another clue for you.
If I go into the application and simply preview the report on the screen
without ever going into the designer, the report prints pretty fast.
However, if I go into the designer first, and don't do …Thanks, Nico. I have already purchased a license to version 9.02 Enterprise
and Server Editions, but I cannot use RB9 yet because I have hundreds of
reports that use the RBAddOn components which another Digital Metaphors
person ha…I discovered that the code doesn't work when using the preview tab, but it
works fine when the report is actually run from the main application. I
still wonder why the Calc tab takes so long to come up when I click on it.
Thanks Nico, I'll give that a try.
Brent
Hi Nico,
Yes, the event code is inside RAP. The band isn't renamed before loading
the template, in fact, if I close the application and reload the template,
it works again.
The root of the problem appears to be that the…Some additional information/clarification:
Although the object referenced in the error message exists, the name of
the object has changed. For instance, the object named GroupHeaderBand3 is
now named something like GroupHeaderBa…Thanks Niko,
I have a library of reports that are available to the end user. When the
end user previews or prints a report, most of the time the report will load
successfully and be printed/previewed. However, very occasionally,…Never mind, Nico. I figured out what it was. In the Text variable was a
currency symbol ($), which was causing the StrToCurr function to raise an
exception. Thanks for your help.
David Miller
What kind of variable are you declaring lTemp as? I tried the following
code:
var
c1 : currency;
begin
c1:=StrToCurr('-'+Text);
Text:=CurrToStr(c1);
end;
It still gives me the same error…I'm not taking time to look through all your code, but the error indicates
that you are referencing the class rather than the function.
Instead of:
------------------------------
procedure TfrmLocation.ppReport1GetAutoSear…I already gave you a complete example of implementing a pass through
function. What I posted to you is the complete unit that works in my
application. To create it, I simply followed the Tutorial that I referenced
for you before …hello
I am really thankful for your help but i am still not able to use the
pass through functions correctly. I tried with
searchexpression:=funclocation
but it is not working.Also the new functions are not appear…