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

Problem with re-compiling of packages in RB7 D5 (Links on "*76.*" - D6 files)

edited July 2003 in General
I use: Windows XP SP 2, Delphi 5.0, ReportBuilder EE 7.02

I need: I changed files ppCTDlg.pas and ppCTMain.pas and I want re-compile
and install packages which rely on this files.

Problem: Some packages rely on files with "*76.*" (RB7 for D6), but I have
only with "*75.*" (RB7 for D5).

Please give step-by-step advice, which packages and how (in which Delphi) I
must re-compile.

Best regards. Vladimir Panormov

Comments

  • edited July 2003
    Vladimir,

    If you are running ReportBuilder 7.02 for Delphi 5, you should not have any
    packages that rely on files with the "76" extention. This could be a
    corrupt installation or you could be experiencing a version conflict. We
    are not able to support users that re-build our packages with their own
    code.

    --
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited July 2003
    Hi, Nico!

    Thanks for answer. And "answer such as question" (Russian proverb). It's my
    mistake. I not described the problem very well. I would try to make
    desription of my problem more extended.

    I USE: Windows XP SP 2, Delphi 5.0, ReportBuilder EE 7.02 (Clear, right
    install)

    I NEED: I disign crosstab object by it method Edit. This method create form
    (TppCustomCrossTabDesignerForm). In this form user can create new elements
    in crosstab. Default properties of element font is set in RB unit
    ppCTMain.pas as next

    constructor TppElement.Create(aOwner: TComponent);
    begin

    inherited Create(aOwner);

    FFont := TFont.Create;
    FFont.Name := 'Arial';
    FFont.Size := 10;

    FAlignment := taCenter;
    FColor := clWhite;
    FDataType := dtString;
    FDisplayFormat := '';
    FName := '';
    FVisible := True;

    end; {constructor, Create}

    But it is not good. I need to use font "Arial Cyr" with russian charset.
    Also I need to change other font properies (charset, size, DisplayFormat).

    PROBLEM:
    1. How I can set other default properties for new crosstab element. It
    means, in TppCustomCrossTabDesignerForm before user begin work with this
    form.

    2. How I can set other default DisplayFormat properties ('#,0.00;-#,0.00')
    only for new value dimension. It means, in TppCustomCrossTabDesignerForm
    before user begin work with this form.

    Please give step-by-step advice for supporting by you solution.

    Best regards. Vladimir Panormov.
  • edited July 2003
    Hi Vladimir,

    1. The CrossTab.Font should pass thru to your report with the character set
    you define. There should be no need to create a new element to do this.

    2. It is possible to change/replace the display format. See the example
    below for more information.

    http://www.digital-metaphors.com/tips/ReplaceDisplayFormats2.zip

    --
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.