Home rbuser Comments
New Blog Posts: Merging Reports - Part 1 and Part 2

rbuser

About

Username
rbuser
Joined
Visits
1
Last Active
Roles
Member

Comments

  • Hi Nico,

    thanks for looking in to this

    i posted it here because i filled the text in Rap. But i see your point.
    It happens also in a normal report.

    I take 2 labels. 1 of them i set autosize to true. If i chang…
  • Thank you. I will try that and report my success, problems.

    Regards, Tone

  • Hi,

    from my last post I changed report design. Now I'm trying to accomplish
    same thing but with changing page top margin. I want that first page has
    top margin 10, any next one top margin 30.
    I put this code in reports on…
  • LOL - You are of course correct.

    Thanks for your help Nico.

    Petter

    "Nico Cizik (Digital Metaphors)" skrev i nyhetsmeldingen: 51504ec4$1@mail.
    ...

    Hi Petter,

    Based on your specifications, …
  • No Problem Nico - I'm quite impressed at your ability to understand the very
    complex situations and requirements described by some words...

    However I have failed to describe my case accurately enough:

    Count is a floating …
  • Ok Nico, how will your solution help me then?
    Can you explain?

    Petter

    "Nico Cizik (Digital Metaphors)" skrev i nyhetsmeldingen: 514b0834$1@mail.
    ...

    Hi Petter,


    No, the DBCalc component ac…
  • Hi Nico

    In the context of my initial question, this is what I'm trying to
    accomplish:

    Count Flag
    1
    1
    1 1
    1 1
    1

    SUM of Count = 3

    Will the visibil…
  • I have been using the Developers Guide Fourth Edition for my resource.
    There was no mention of the solution to this issue in there.

    Where is this RAP FAQ? I cannot find it.

    Where is the best place to find examples/document…
  • Thanks for replying!

    I think I figured out the real problem now and it had nothing to do
    with RAP or ReportBuilder.

    I am now 99% sure this was a mere symptom of a complicated memory
    corruption issue that was caused so…
  • Thanks for the reply Nick. I had done the correct stuff with registering
    my RTTI class, and its been a while since I've done this so, yes, I
    screwed up and was instantiating the RTTI instead of the class it wraps;
    but I'd also not …
  • Thanks Nico, clearing the Memo seems to solve the problem.


    Jim Shawver
    Bell and Howell
  • i just tried now. ( rb 14.07 on delphi xe )

    with this :
    procedure reportAfterPrint ;
    begin
    showmessage(Report.DeviceType);
    end;

    message is shown only 1 time.

    but with

    procedure repor…
  • Nard,

    thank You and please excuse me for this question. Of course it is
    totaly basic but after not working with RB for several months I have
    completely forgot where to look. I found those options and made it work.

    T…
  • Thanks for the feedback, Nard. In particular...


    ..both sound ideal! :)
  • On 15/05/2014 11:12, Paul Toms wrote:

    Not a good idea, even if it relies on TwoPass setting, or something similar?
  • Hello Nard,

    I've finally got around to implementing this in RAP but I have a number
    of comments about it that I would appreciate you reading through.

    1. This seems like an overcomplicated and very elaborate way of
    a…
  • Thanks Nard, I'm kicking myself because I've read that article before
    and I was only asking this question because that is exactly what I want
    to do! How did I miss it?! in Detecting last detail on a page Comment by rbuser May 2014
  • Thanks!
    I solved the array capability using basics methods of TStringList and
    those methods that RAP code doesn't accept or recognize as delimeter or
    delimeted text, I did it with traversing through the list with a FOR
    sentenc…
    in Arrays Comment by rbuser July 2014
  • Hi.

    For check what properties (methods) available in RAP I used next code:

    uses
    ppRTTI,
    raObjectRTTI;


    procedure TTestForm.StringListRTTIPropsToFile;
    begin
    ClassRTTIPropsToFile(TStri…
    in Arrays Comment by rbuser July 2014
  • Hi
    I asked an example of simulating arrays manipulation with TStringList
    because I couldn't use many properties of the TStringList component as
    in delphi. For example delimiter property, delimitedtext property, and
    others. It…
    in Arrays Comment by rbuser July 2014
  • Thanks Nico
    Could you please give me an example about accessing and modifying a
    specific value in the x position?



    El 03/07/2014 13:46, Nico Cizik (Digital Metaphors) escribió:
    in Arrays Comment by rbuser July 2014
  • Hi Nico, thanks.
    But from a report it is possible directly to access to and set delphi global
    settings?

    procedure ReportBeforePrint;
    begin
    DecimalSeparator := '.';
    end;

    Thanks,
    Davide

  • Sorry Nard, I should have been more specific.

    Its not dragging onto the code editor, its dragging code around "within"
    the edit. If you still can't reproduce I can record a screencast if it
    helps.

  • Will this work?

    procedure TMyPixelsPerInchFunction.ExecuteFunction(aParams: TraParamList);
    var vInput : Integer;
    begin
    // X is the value added in RAP.
    GetParamValue(0, vInput);
    SetParamValue(1, ScaleFromSmal…
  • To clearify:

    The X stands for a new position of a control in RAP.
    Normally in RAP one would use:
    begin
    Label1.Left := 108;
    end;

    I would like to use:
    begin
    Label1.Left := CalcPixelsPerInch(108)…
  • Hi Nard,

    thanks for your time. I found the error in my code (getfieldvalue).

    Walter
  • Sorry about this, looks like I was completely wrong ( as usual ).

    What I am trying to do is basically put a page break in at tun time, in
    the RAP code.

    still have not sorted it out.
  • On 1/08/2015 12:13 AM, Nico Cizik (Digital Metaphors) wrote:


    Thank you Nick and Paul for all your help
  • On 31/07/2015 05:36, Robert Gilland wrote:


    Five minutes work (untested):

    unit myRAPu;

    interface

    uses
    classes,
    SysUtils,
    ppTypes,
    ppRTTI,
    ppClass,
    raFunc;
  • On 08/31/2015 10:04 AM, Nico Cizik (Digital Metaphors) wrote:

    Hi Nico,

    Yes, that's exactly what I needed to know. Making this adjustment
    resolves the problem.

    Thanks,
    Phil